Skip to main content
Solved

Get the user to select schema and tables from list before workspace execution

  • Jan 18, 2018 11:31 AM UTC
  • 3 replies
  • 89 views

Forum|alt.badge.img

Hello,

I am looking for an easy way to get the user select the tables that they want to read and translate before the workspace runs. Is there an easy way to set this up using FME transformers or it has to be done resorting to other methods (i.e python scripting with specific postgis drivers) and if so, could I get some help on how to accomplish this?

At the moment I have a creator, an SQL executor that extracts all tables from the schema I want the tables to be selected from, how can I convert this list into a parameter and then let the user select the tables they want to be then submitted to the PostGIS (or generic reader maybe) to then work with only that subset of tables?

Best answer by oscard

Use a FeatureReader transformer and create a User Parameter with the parameter "Feature Types to Read"

That way the user will be prompted with a window to choose the tables to read:

View original
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

oscard
Influencer
Forum|alt.badge.img+23
  • Influencer
  • Best Answer
  • Jan 18, 2018 11:39 AM UTC

Use a FeatureReader transformer and create a User Parameter with the parameter "Feature Types to Read"

That way the user will be prompted with a window to choose the tables to read:


Forum|alt.badge.img
  • Author
  • Jan 19, 2018 9:03 AM UTC

Yes @oscard it works thanks


oscard
Influencer
Forum|alt.badge.img+23
  • Influencer
  • Jan 19, 2018 9:04 AM UTC

Yes @oscard it works thanks

Glad I could help!