Skip to main content
Solved

How to make it AttributeManager handling easy ?

  • June 29, 2023
  • 9 replies
  • 71 views

vimva679
Supporter
Forum|alt.badge.img+9

How i have atleast 20+ AttributeManager in my FME workbench and this take a lot of my time in editing each of them every time.....

 

When i delete / rename any of my headers......is there better way

when i rename / delete Input Attribute it reflects the changes till the end ?

image

Best answer by ebygomm

any recommendation to use Alternate transformer ?

It depends on the action.

 

AttributeRemover, AttributeRenamer, AttributeCreator etc.

 

This also has the advantage that it makes the workspace more searchable.

 

If those attributes are already referenced in a downstream AttributeManager, you'll still have to edit the AttributeManagers, they won't get automatically removed/renamed etc.

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

9 replies

virtualcitymatt
Celebrity
Forum|alt.badge.img+47

Depending on what you want to do with your attributes the BulkAttributeRenamer might be helpful. With it you can remove or add prefixes form attributes.


vimva679
Supporter
Forum|alt.badge.img+9
  • Author
  • Supporter
  • June 29, 2023

Depending on what you want to do with your attributes the BulkAttributeRenamer might be helpful. With it you can remove or add prefixes form attributes.

thanks @virtualcitymatt​ , i haven't used that transformer, still wld give a go and see if i am able to achieve what i am after. But if you got any quick example for me , may i request you to share the FME workbench.


vimva679
Supporter
Forum|alt.badge.img+9
  • Author
  • Supporter
  • June 29, 2023

Depending on what you want to do with your attributes the BulkAttributeRenamer might be helpful. With it you can remove or add prefixes form attributes.

Nops that doesn't work rename/ remover either , i would like to totally remove this records from the rest of the workflow (i.e.) Writer.

 

I wanted get rid of Column 'FME_NNB_Level' in downstream , am using Attribute remover and when i go and check the attributes that column still remains 😞

 

image 

image 

https://community.safe.com/s/bridea/a0r4Q00000HbrALQAZ/attributemanager-automatically-update-do-nothing-attributes


virtualcitymatt
Celebrity
Forum|alt.badge.img+47

Nops that doesn't work rename/ remover either , i would like to totally remove this records from the rest of the workflow (i.e.) Writer.

 

I wanted get rid of Column 'FME_NNB_Level' in downstream , am using Attribute remover and when i go and check the attributes that column still remains 😞

 

image 

image 

https://community.safe.com/s/bridea/a0r4Q00000HbrALQAZ/attributemanager-automatically-update-do-nothing-attributes

Ahh yep, there is also an AttributeKeeper (which removes all except what you want) and a BulkAttributeRemover For removing attributes which match an expression


ebygomm
Influencer
Forum|alt.badge.img+46
  • Influencer
  • June 29, 2023

This is one of the reasons I tend to avoid using AttributeManagers apart from as a final step to prepare attributes prior to writing.

 


vimva679
Supporter
Forum|alt.badge.img+9
  • Author
  • Supporter
  • June 29, 2023

This is one of the reasons I tend to avoid using AttributeManagers apart from as a final step to prepare attributes prior to writing.

 

any recommendation to use Alternate transformer ?


ebygomm
Influencer
Forum|alt.badge.img+46
  • Influencer
  • Best Answer
  • June 29, 2023

any recommendation to use Alternate transformer ?

It depends on the action.

 

AttributeRemover, AttributeRenamer, AttributeCreator etc.

 

This also has the advantage that it makes the workspace more searchable.

 

If those attributes are already referenced in a downstream AttributeManager, you'll still have to edit the AttributeManagers, they won't get automatically removed/renamed etc.


vimva679
Supporter
Forum|alt.badge.img+9
  • Author
  • Supporter
  • July 6, 2023

Just a tip adding to @ebygomm​ If you are planning to use AttributeRemover >>>>>> try using Attributekeeper instead atleast you will not have to typein the attributes you wish to continue with as in AttributeKeeper you shall have the Checkbox option instead . / tnx


chuhfdist
Participant
Forum|alt.badge.img
  • Participant
  • December 19, 2024

I have 30 same attributemangers need to change one attribute name in all of them, I used notepad++ to open the fmw file, found its format like a xml, just used the text replace to replace all the attribute name to what I want. 

 

Done!