Skip to main content

I have amount Shapefiles and I want calculate value of attribute as shapefile name. Who can help me? Thanks so much!

Your question is a bit ambiguous.

If you need the name of the file that you read you can expose fme_basename on the reader Format Attributes tab.

Reader fme_basenameIf you need to write your features to a controlled custom filename set Shapefile Name on the writer to an attribute or a concatenation of attributes via Text Editor.

Writer filename by attribute


Your question is a bit ambiguous.

If you need the name of the file that you read you can expose fme_basename on the reader Format Attributes tab.

Reader fme_basenameIf you need to write your features to a controlled custom filename set Shapefile Name on the writer to an attribute or a concatenation of attributes via Text Editor.

Writer filename by attribute

Thank for your support. I setup Format Attribute at Reader and Writer so It worked. 😁


Reply