Skip to main content
Question

New Attributes Added to Source Dataset


Is there a way in FME to detect if there has been a change in the attributes name or if there has been a new added attribute to a source file how it can be synchonised in writer

2 replies

erik_jan
Contributor
Forum|alt.badge.img+19
  • Contributor
  • November 6, 2017

If you have a copy of the original source file, you can use the "Schema reader (any schema)" to read the schema of original and new source file.

The use the ChangeDetector transformer to find any changes in source schema.


mark2atsafe
Safer
Forum|alt.badge.img+48
  • Safer
  • November 6, 2017

You can use Readers > Update Feature Types to refresh the source data feature types.

There is a Writers > Update Feature Types too, but that's not so useful if the output isn't a database table that already exists. Instead, maybe have the writer feature type attributes set to Automatic, so that any change in the reader also updates the writer.

Here's a quick movie to show how it is done: https://www.screencast.com/t/Zpb56FfJzo


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