Skip to main content

Dear FME Community,

I’m using a dynamic writer in my workspace and have run into an issue with newly added attributes.

In my workflow, I added a transformer to perform an analysis and wrote the result to a new attribute field. However, this new attribute is not appearing in the output file.

I understand that the dynamic writer uses the schema from the reader, and since this new attribute doesn’t exist in the original schema, it seems to be excluded from the final result.

How can I ensure that this new attribute is included in the output when using a dynamic writer?
Is there a recommended way to update or override the schema dynamically?

Thanks in advance for your help!

Hi ​@mitra 

Have you selected “Dynamic Schema Definition” in Parameters tab and “Dynamic” in User Attributes tab in writer?


Yes, exactly. Moreover, I used a single merged feature type in the reader because my files were in File Geodatabase (FGDB) format, and all the feature classes were stored within one FGDB.

I ran the analysis using transformers and wanted to write the results for each feature class separately. To achieve this, I needed the output files in the writer to match the input feature classes from the reader, including their original names. Therefore, I used a dynamic writer.

The issue is that during the analysis, I added a new attribute (a new column) to the attribute table. However, because I used a dynamic writer, this new attribute did not appear in the final output. This is likely because the new column did not exist in the original schema of the feature classes read by the reader.

 

 


Why do you want to select “Dynamic” option when “Automatic” option will address your problem?

 

 


Reply