Skip to main content
Question

How to dynamically populate in a published parameter based on the output of an attribute column?

  • January 26, 2023
  • 2 replies
  • 129 views

joy
Supporter
Forum|alt.badge.img+14
  • Supporter

Hello everyone,

I have a column with output that changes depending on different input.

Ideally, I would like to populate a published parameter (Choice) based on the output of that column, so then a user can click on a value of that choice list on FME Server in let's say a workspace app.

Does anyone know how to dynamically fill in a choice list based on the output of a column?

afbeelding 

2 replies

dustin
Influencer
Forum|alt.badge.img+30
  • Influencer
  • January 26, 2023

It's not possible in a single workspace since parameter values are established at runtime, meaning they can't be retroactively published after you click Run. I haven't personally tried but this article outlines a similar process to what you are describing using a two step process. EasyGeocoder - Data Driven Self-Serve Data Transformation (safe.com)


joy
Supporter
Forum|alt.badge.img+14
  • Author
  • Supporter
  • January 27, 2023
dustin wrote:

It's not possible in a single workspace since parameter values are established at runtime, meaning they can't be retroactively published after you click Run. I haven't personally tried but this article outlines a similar process to what you are describing using a two step process. EasyGeocoder - Data Driven Self-Serve Data Transformation (safe.com)

I tried another method based on the following article and I am getting quite close. https://community.safe.com/s/question/0D54Q000080hfA1SAI/question-of-the-week-dynamic-but-hacky-updates-to-published-parameter-choices. So this might also be an option. Using FeatureReader instead does also seem to do the trick. I am only stuck at the step to the user only to choose one option instead of choosing several options


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings