Is there a way to have schemamapper read the name of a source table (shapefile), and populate a target attribute field with that name in the writer? Please see the attachment for illustration of question/goal.
Solved
Mapping a source filename as attribute value
Best answer by erik_jan
For each feature in the Shape files the name of the file is stored in the format attribute fme_feature_type. That attribute can be exposed in the settings of the reader feature type or by using the AttributeExposer transformer.
The value can be copied into the attribute dataSource using an AttributeManager, AttributeCopier or similar transformer.
I do not think you need a SchemaMapper transfomre for this.
Reply
Rich Text Editor, editor1
Editor toolbars
Press ALT 0 for help
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.