span8
span4
span8
span4
Ideaby1spatialdave··published parametersworkspace
Occasionally when creating parameters to control a workspace it would be nice to be able to create a relationship between parameters to make it clear to the user running the process which parameters to set. For example if a user selects from a choice parameter that they would like to do a proximity search against restaurants, two additional parameters that were by default greyed out should then become available so that the user can enter a parameter value for the maximum number of results to be returned and enter the search radius. Its the kind of detail that could be applied when the parameter is created, like, 'set parameter as primary' and then you could add 'child' parameters to that primary.
nic_rancommented·
The ultimate solution would be to have all possible GUI parameter types available through FME Workbench. The complete list is referenced below (ACTIVEGROUP is the one that you need):
https://docs.safe.com/fme/html/FME_GuiType/nav.html
This is kind of available already but requires hacking the .fmw file and then the results only work if running the workspace using the Quick Translator. As soon as you open the workspace in Workbench, you lose the custom parameters.
I tried to upload a workspace example but it wouldn't upload. Instead, try editing an existing workspace and adding the following lines after any existing parameter definitions. Then, try right-click, "Run with FME Quick Translator..." to see an example of a Radio Button and a Group.
DEFAULT_MACRO MY_RADIO_PARAM returnValue1 GUI RADIO_GROUP MY_RADIO_PARAM 1%"\"Choice 1\"",value1[%"\"Choice 2\"",value2 Radio choice parameter DEFAULT_MACRO SERVER serverName GUI TEXT SERVER Server name: DEFAULT_MACRO USERID userId GUI TEXT USERID User ID: DEFAULT_MACRO PASSWORD password GUI TEXT PASSWORD Password: DEFAULT_MACRO CONNECT_DATABASE_SERVER NO GUI ACTIVEGROUP CONNECT_DATABASE_SERVER SERVER%USERID%PASSWORD Database Server
jdhcommented·
This was brought up at the user conference. I would love to have this ability for custom transformers.
Share your great idea, or help out by voting for other people's ideas.
© 2019 Safe Software Inc |Legal