Skip to main content

Hi,

is it possible to change the filename in a dynamic writer? I'm trying to add a suffix to the original file name but as soon as I do any changes to the value stored in fme_feature_type the workbench fails. Is it even possible to change the filename in a schema?

 

You should not change schema definition name i.e. the source feature type name. Just set fme_feature_type to the Schema Definition Name explicitly, and modify the destination feature type name (Shapefile Name).


Hi @kasparlov,

When you write to a shape file, the filename is the same as the fme_feature_type by default but you can offcourse use another attribute or hardcode another name:


You should not change schema definition name i.e. the source feature type name. Just set fme_feature_type to the Schema Definition Name explicitly, and modify the destination feature type name (Shapefile Name).

Thank you @takashi, this is exactly what I was trying to achieve.


Reply