Skip to main content
Question

How to Populate Values of a Published User Parameter of Type Choice Using Scripted Python Parameter

  • June 1, 2020
  • 3 replies
  • 26 views

Hi,

Is it possible to populate Values of a publish user parameter of type choice at runtime using scripted Python parameter or using any other approach?

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

virtualcitymatt
Celebrity
Forum|alt.badge.img+47

Not exactly as you've described, but you can use the choice from a 'choice' parameter in a scripted parameter to generate something else.

There is also the option to use Choice with an alias?

What is the use case?


virtualcitymatt
Celebrity
Forum|alt.badge.img+47

Not exactly as you've described, but you can use the choice from a 'choice' parameter in a scripted parameter to generate something else.

There is also the option to use Choice with an alias?

What is the use case?

Of course - if you are running FME from the command line or on FME Server via a web call then the is of course another way to populate published parameters.


  • Author
  • 3 replies
  • June 2, 2020

Not exactly as you've described, but you can use the choice from a 'choice' parameter in a scripted parameter to generate something else.

There is also the option to use Choice with an alias?

What is the use case?

Thanks @virtualcitymatt for your reply.

I'm using the Data Interoperability extension for ArcGIS, and want the user to select the target geodatabase version from a list as a parameter for the tool to run.