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.
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.
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.
Thank you for your answer. For order of operations, can I run my SchemaMapper process first and then run the workflow you described without overwriting my first operation? Sorry if I sound like a noob, but I am.
Thank you for your answer. For order of operations, can I run my SchemaMapper process first and then run the workflow you described without overwriting my first operation? Sorry if I sound like a noob, but I am.
Ok, I took a stab at it based on your answer - please see screencap. The results as you can see indicate that the process ran but no attribution resulted. Also, what is the parameter to ensure records are not overwritten from the first process. Thanks for your help.attexposerattmgr.png