You are here: Workspace Basics > Reading and Writing Data > Deriving Destination Schema from Schema Feature

Deriving Destination Schema from Schema Feature

You can use a dynamic writer to define your destination schema. In dynamic mode, the writer checks the first feature of each incoming feature type for the presence of a specific type of list attribute that provides schema information. If this list is found on the first feature, it can be used to generate the output schema for the writer.

To generate this list, use any of the following:

  • The <Schema> output port of the FeatureReader transformer.
  • AttributePivoter transformer
  • Schema (Any Format) reader

To use the list to define destination schema, set the Schema Sources parameter of the dynamic writer's feature type to "Schema from Schema feature".

For a detailed example, including sample workspaces, see Dynamic Workflows: Destination Schema is Derived from a Schema Feature in the FME Knowledge Center.