Skip to main content

I have been tasked with sorting out 100s of workbenches. In the majority of them the names of the transformers have been customised and should be in annotations rather than the actual transformer name, for easier readability.

 

E.g. SQLExecutor is actually named Table_xxx or FeatureWriter is Named xxx_Output.

 

I'd like to know if there is an easy way to just revert the names back to the original transformers names. I can't find a way myself, other than manually going through each one and changing it myself.

 

EDIT: This is on FME Desktop 2022.1

 

Thanks!

Not tested but you probably can find the relation between transformer name and transformer type using the workspace reader. Then you can read the workspace as a text file and do a find and replace for all transformers.

 

It is hacky, but I think this can work, and if it does it should be quite efficient.


Functional naming... I love it... It's so much easier to explain a flow to a non-FME-er. Actually within the Navigator you can see the original name of the transformer so you can easily see what its original name is. If you get used to using the Navigator there's no need to hold on to the original transformer names and create extra annotations. During the UC talked to some Safe-ers about a possibility to implement aliases so you can easily switch between functional naming and the original names. Hopefully they will implement it in the near future so everybody can work the way they prefer. For now my solution would be to work out a good naming convention document within your company and manually work your way through all of your workspaces to create a valuable and manageable collection of workspaces.


Reply