Skip to main content

Hello,

 

 

I am wondering if there is a way to change a name of attribute in FME. Attached, You will find a photo of what am I trying to do. I would like to change a name of attribute in those two places.

You can change the name in the output feature type, provided it's a "user attribute". Simply click on the cogwheel, go to the User Attributes tab and change the name. You will most likely have to reconnect the attribute connection -or- use an AttributeRenamer or AttributeManager somewhere in your process to perform the renaming there as well.

Renaming an attribute on an input feature is possible, but not recommended. If the input data doesn't match the schema defined there you'll lose the attribute.

Hope this helps.


You can change the name in the output feature type, provided it's a "user attribute". Simply click on the cogwheel, go to the User Attributes tab and change the name. You will most likely have to reconnect the attribute connection -or- use an AttributeRenamer or AttributeManager somewhere in your process to perform the renaming there as well.

Renaming an attribute on an input feature is possible, but not recommended. If the input data doesn't match the schema defined there you'll lose the attribute.

Hope this helps.

Fully agree with redgeographics. A AttributeRenamer is, in my opinion, an even more readable and easy-to-understand solution for others using your workspace! ;)

 

 


As a quick addition, as @redgeographics says, you don't normally edit the source (reader) attribute names. That's because it represents "what you have" and editing it would make it become out of sync with your source data.

However, if the source dataset itself changes, you can update the definition in FME using the tool Readers > Update Feature Type


Reply