Skip to main content
Question

How to point a Feature Type to a different Reader?

  • September 13, 2022
  • 2 replies
  • 7 views

mattwilkie
Supporter
Forum|alt.badge.img+11

I have a workspace with dozens of Readers & Writers that all point to the same database, all using the same connection. How to point all the relevant Feature Types to a single Reader/Writer definition, and then delete all the duplicates?

(and then I'll need only one User Parameter!)

 

An output Feature Type let's me select which Writer to use, but input Feature Types have Reader field disabled. Why? How do I enable the UI control?

 

fme-dozens-dupe-readersfme-ftype-writer-changeablefme-ftype-reader-disabled

2 replies

dustin
Influencer
Forum|alt.badge.img+31
  • Influencer
  • September 14, 2022

It's always best to import the Reader Feature Types from the data to avoid errors during translation. In this case I would import all the feature types under a new single reader, reconnect the readers to your appropriate transformers, and then delete the old duplicates.


mattwilkie
Supporter
Forum|alt.badge.img+11
  • Author
  • Supporter
  • September 14, 2022
dustin wrote:

It's always best to import the Reader Feature Types from the data to avoid errors during translation. In this case I would import all the feature types under a new single reader, reconnect the readers to your appropriate transformers, and then delete the old duplicates.

hmm. So if I understand this right, the smoothest and most visible path in the UI is actually best avoided? e.g. Excepting the very first time don't use +Reader button or just start typing to add a table to do something with. And, in the event you have followed this easy (looking) path, the only recourse is to rebuild processes one by one, via menu "Reader >> Import Feature Type"* as you outline. Urkh. Sigh. ok. Thanks for the remedy. Lesson learned, and hopefully not repeated. ;-)

 

*Import FT is not exposed via right-click context or some other in-situ UI element as far as I can tell


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