Skip to main content
Archived

AttributeHider

Related products:Transformers
  • November 3, 2015
  • 6 replies
  • 118 views

jdh
Contributor
Forum|alt.badge.img+41
The opposite of the attributeExposer. Sometimes I need to temporarily expose an fme_attribute in order to preserve it's value (ex. LineJoiner) or replace it's value (ListIndexer), but would rather not have it trailing through the rest of the workspace, especially when this takes place within a custom transformer.

6 replies

takashi
Celebrity
  • November 3, 2015
Agreed. I also hope that.

fmelizard
Safer
Forum|alt.badge.img+22
We've been talking about adding this into the new AttributeManager at some point.

 

In teh meantime, you can put down a PythonCaller -- by default it does nothing -- and you can use its "hide attributes" to accomplish what you want. Awkward and annoying I know. But at least you can do it already.

 


takashi
Celebrity
  • November 4, 2015

If so, how about adding both "Expose" and "Hide" to the AttributeManager?


thijsknapen
Contributor
Forum|alt.badge.img+12

Too bad that it hasn't made the cut in the past 8 years. I wanted to post exactly this idea today. You got my vote!

I know you can use a PythonCaller or TCLCaller as a workaround, but it doesn't feel ideal. Also, isn't it the case that using a PythonCaller (by default) would break bulk mode? That, next to loading in dlls (packages/modules) don't feel to be neccessary for what we would like to achieve.


LizAtSafe
Safer
Forum|alt.badge.img+26
Open→Archived

arthur_bazin
Contributor
Forum|alt.badge.img+19

​@LizAtSafe is it definitly Archived ?

I have about ten cases where I need to hide attributes. A majority comes from the output of a custom transformer where I want to keep the data but don’t want to expose it so the main workspace stay clean.

When you have a lots of transformers (100+) one new attributes or one less and you have to change the configuration of plenty of attributeManager (not always but in some case you have to).

For me that could be far greater than using the PythonCaller