Skip to main content
Solved

How to filter choice list from one published parameter to the next published parameter


adandeleon0915
Participant
Forum|alt.badge.img

Sorry, not sure how to word this correctly. For example, I have 2 published parameters. First parameter is StateName and second parameter is Cities. If I pick a certain state in the first parameter, could the second parameter (cities) only display cities in that state from the first parameter?

Best answer by davtorgh

Hi adandeleon0915,

 

as far as I know, FME reads all the published parameters at the same time before starting any data processing, so I don't think you can get what you are looking for in that way.

View original
Did this help you find an answer to your question?

6 replies

davtorgh
Contributor
Forum|alt.badge.img+10
  • Contributor
  • Best Answer
  • November 4, 2020

Hi adandeleon0915,

 

as far as I know, FME reads all the published parameters at the same time before starting any data processing, so I don't think you can get what you are looking for in that way.


adandeleon0915
Participant
Forum|alt.badge.img
davtorgh wrote:

Hi adandeleon0915,

 

as far as I know, FME reads all the published parameters at the same time before starting any data processing, so I don't think you can get what you are looking for in that way.

Well that's unfortunate... haha thank you very much though for your time!


Forum|alt.badge.img+2

You could use a concatenated value. For example;

 

Oklahoma City = "OK - Oklahoma City"

 

Then you can use the filter to find the one you want. Then you only need the 1 parameter.


ebygomm
Influencer
Forum|alt.badge.img+32
  • Influencer
  • November 5, 2020

Would using a choice parameter with a tree option work for you? So you click on a state to expand and then get the cities

Capture 


adandeleon0915
Participant
Forum|alt.badge.img
  • Author
  • Participant
  • November 12, 2020
ebygomm wrote:

Would using a choice parameter with a tree option work for you? So you click on a state to expand and then get the cities

Capture 

I'd have to look into that... Interesting concept. I'd have to see if that works out. Thanks for the feedback!


adandeleon0915
Participant
Forum|alt.badge.img
  • Author
  • Participant
  • November 12, 2020
ebygomm wrote:

Would using a choice parameter with a tree option work for you? So you click on a state to expand and then get the cities

Capture 

Just looked into this and it seems to display nicely how you can drill down even further BUT.... the way it displays in FME Server app is just single line options. It doesn't display the way it looks in workbench...


Reply


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