Skip to main content
Solved

How can I make the FeatureReader output ports (one per feature type or specified) persistent when preparing the workspace to to run on FME Server?

  • January 4, 2018
  • 3 replies
  • 59 views

kalbert
Supporter
Forum|alt.badge.img+14

Hi,

when I replace the hardcoded string to a dataset with a parameter (in my case my $(FME_SHAREDSOURCE_DATA) Resources), the FeatureReader destroys all my 'one per feature type' or 'specified' Output Ports. Even if I add 'FeatureTypes to Read' as a Fixed List parameter.

So how can I make the Output Ports persistent to prepare my workspace for FME Server?

(FME 2017.1.1.0 build 17650)

Best answer by david_r

The easiest, in my opinion, is to use the Single Output Port option followed by a TestFilter on fme_feature_type or fme_dataset.

You can, however, accomplish what you want by linking the transformer dataset property to the FME_SHAREDRESOURCE_DATA parameter from the Navigator / Transformers list, rather than from the transformer properties:

This should enable you to set a different dataset while preserving your existing output ports.

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

david_r
Celebrity
  • Best Answer
  • January 4, 2018

The easiest, in my opinion, is to use the Single Output Port option followed by a TestFilter on fme_feature_type or fme_dataset.

You can, however, accomplish what you want by linking the transformer dataset property to the FME_SHAREDRESOURCE_DATA parameter from the Navigator / Transformers list, rather than from the transformer properties:

This should enable you to set a different dataset while preserving your existing output ports.


rylanatsafe
Safer
Forum|alt.badge.img+14
  • Safer
  • January 4, 2018

The easiest, in my opinion, is to use the Single Output Port option followed by a TestFilter on fme_feature_type or fme_dataset.

You can, however, accomplish what you want by linking the transformer dataset property to the FME_SHAREDRESOURCE_DATA parameter from the Navigator / Transformers list, rather than from the transformer properties:

This should enable you to set a different dataset while preserving your existing output ports.

Cool idea! I'll have to try this out – I've often run into this same workflow complication.

 

 


kalbert
Supporter
Forum|alt.badge.img+14
  • Author
  • Supporter
  • January 5, 2018

@david_r

Your suggestion works pretty good (applying the parameter from the Navigator instead of the transformer properties). Thanks a lot.