Skip to main content

When the workspace starts I have the user select a certain attribute. Depending on which attribute is chosen I want different user parameters to come up.

 

So for example I have a list of six items. If they pick item 1 then the attribute manager calculates a number of values. I also want it to display different user parameters depending on which inital item is chosen I hope this makes sense? I'm just not sure if I can even do this in FME. I notice any user parameters I create always show up altogether at the beginning.

As far as I know it's not possible to create a 'conditional parameter', based on the resulting values from say the AttributeManager. Parameter values are passed at runtime, so you can't pass values back after you hit run.

 

Depending on what you are doing in the AttributeManager, you could possibly replicate that action in a Scripted parameter. In that Scripted parameter you should be able to reference the public parameter the user is populating.


As far as I know it's not possible to create a 'conditional parameter', based on the resulting values from say the AttributeManager. Parameter values are passed at runtime, so you can't pass values back after you hit run.

 

Depending on what you are doing in the AttributeManager, you could possibly replicate that action in a Scripted parameter. In that Scripted parameter you should be able to reference the public parameter the user is populating.

This is correct. Once the workspace has been started, the user parameters can no longer be modified.


Ok thanks! Sounds like I need to learn how to do scripted parameters then.


Reply