Copying Feature Types to a Writer

If a workspace already contains a writer, it's still possible to copy a reader schema into it. This is simply done by selecting the required reader feature types, right-clicking them, and using the option Duplicate (on Writer).

The command causes duplicates of the reader feature types to be added to the writer and automatically connected. Again, at least one writer must exist in the translation hierarchy; else this option will be greyed out.


Removing Feature Types

Feature types can be deleted by selecting them on the canvas and pressing the delete key. They can also be deleted using the remove feature types tool on the menubar:

A user might delete a feature type if there is a destination dataset layer that they no longer wish to write.

Whenever all feature types are deleted from a writer then FME will prompt the user to decide whether to remove the writer component as well.

This makes sense because if there are no feature types you wish to write, why would you still wish to write the dataset at all?

If you answer No, then the feature types are all removed, but the writer is left in the translation. We call this a "dangling” writer, because it has no children in the hierarchy.


TIP
A dangling writer isn’t as much of a problem as a reader, since there is no data to be written; although it can cause a loss of performance depending on other (advanced) factors such as the order of writers.

results matching ""

    No results matching ""