Skip to main content

I suspect that I am missing some simple setting here. But simple as it might be, I cant find a solution.

I have set up a workspace that imports a bunch of shape files and runs various transformers on them. Among these are Attribute Managers for some of the files, where I add a couple of new attributes. But for some reason these new attributes do not get written to the exported shape files. When I Inspect the last step with the same data that is feed the Dynamic Writer everything looks fine. Is there some setting I have missed or do I need an additional step, with a extra transformer, to write the new schema?

The Dynamic Writer is presumably using the source data as the schema, any attributes created in fme will only be written if you explicitly add them to the writer featuretype.

On the User Attributes Tab of the Feature Type Properties add the new attributes, but make sure your Attribute Definition stays as Dynamic and does not switch to Manual.


Hi @aron,

@jdh is spot on on the subject of adding attributes to a dynamic translation, adding them via the User Attributes tab has the disadvantage that all of the resulting datasets have the added attributes, if you need better control over the resulting attributes per result dataset I suggest using an external look up table as described here:

https://knowledge.safe.com/articles/1046/dynamic-workflow-tutorial-destination-schema-is-de-1.html


Reply