Skip to main content
Solved

Change filename in dynamic writer


pflegpet
Contributor
Forum|alt.badge.img+8

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?

 

Best answer by takashi

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).

View original
Did this help you find an answer to your question?

3 replies

takashi
Contributor
Forum|alt.badge.img+19
  • Contributor
  • Best Answer
  • March 13, 2019

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).


arnovananrooij
Contributor
Forum|alt.badge.img+5

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:


pflegpet
Contributor
Forum|alt.badge.img+8
  • Author
  • Contributor
  • March 13, 2019
takashi wrote:

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings