Skip to main content
Solved

How to make it AttributeManager handling easy ?


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

vimva679 wrote:

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.

View original
Did this help you find an answer to your question?

9 replies

virtualcitymatt
Celebrity
Forum|alt.badge.img+35

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
virtualcitymatt wrote:

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
virtualcitymatt wrote:

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+35
vimva679 wrote:

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+33
  • 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
ebygomm wrote:

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+33
  • Influencer
  • Best Answer
  • June 29, 2023
vimva679 wrote:

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!


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings