Skip to main content
Question

New Attributes Added to Source Dataset

  • November 6, 2017
  • 2 replies
  • 13 views

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

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.

2 replies

erik_jan
Contributor
Forum|alt.badge.img+22
  • Contributor
  • 2179 replies
  • 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+56
  • Safer
  • 2554 replies
  • 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