LAE

Welcome to the LAE community!  Please feel free to start a discussion in the discussion tab or join in a conversation.

Discussions

Members

Resources

Events

 View Only
  • 1.  Graph parameter - select folder location via "choose" option

    Employee
    Posted 02-11-2015 08:25

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: mlam

    Hi all,

    I currently have a graph parameter of type "string" that I use to define the folder location used within a Directory Node.
    So then to use this, I just paste the folder location into this parameter and off I go.

    My customer is asking whether, instead of copying and pasting, there is way to set the parameter to allow the user to browse and select it - similar to if I had a "filename" parameter type and it gives me the "Choose" button.

    Thanks


  • 2.  RE: Graph parameter - select folder location via "choose" option

    Employee
    Posted 02-11-2015 09:50

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: ltolleson

    If you use the "filename" parameter type then you will see the same "choose" button that you see on some of the input nodes. You can then use this button to choose a file (not a directory) and it will put the path/filename in the parameter value. If all you want is the directory, then you can just delete the filename from the string. If there is no file in the directory you choose then simply type some value into the filename field at the bottom and click ok. It will insert the path plus the name you put as the filename into your parameter. Again, simply delete the filename at the end to use just the directory.

    Note: The "choose" button is only visible when connected to a local desktop server. It is not visible when connected to an Enterprise server.


  • 3.  RE: Graph parameter - select folder location via "choose" option

    Employee
    Posted 02-11-2015 14:58

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: mlam

    Thanks Larry.

    I'm using local desktop - should have specified that.

    Thanks for your suggestion. I was a bit hesitant to go down this road as I worry it will cause more confusion - I find when I don't have a file name but my path ends with a backslash that the "Choose" button doesn't work unless I delete the backslash or put in some dummy file name.

    Example: If my parameter input for a "filename" parameter is something like "M:\mlam\folder\another_folder\" then clicking the "Choose" button (to select another location to re-run graph for different data) doesn't open up my Windows Explorer unless I either delete the last back slash (e.g. "M:\mlam\folder\another_folder") or type in a dummy name (e.g "M:\mlam\folder\another_folder\dummy.xlsx").