Skip to main content
Solved

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

  • November 4, 2020
  • 6 replies
  • 85 views

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.

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.

6 replies

davtorgh
Contributor
Forum|alt.badge.img+11
  • Contributor
  • 105 replies
  • 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
  • Author
  • Participant
  • 3 replies
  • 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.

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


Forum|alt.badge.img+2
  • 194 replies
  • November 4, 2020

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+44
  • Influencer
  • 3427 replies
  • 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
  • 3 replies
  • November 12, 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 

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
  • 3 replies
  • November 12, 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 

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...