Skip to main content
Archived

AttributeHider

Related products:Transformers
  • November 3, 2015
  • 5 replies
  • 106 views

jdh
Contributor
Forum|alt.badge.img+40
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.

5 replies

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

fmelizard
Safer
Forum|alt.badge.img+22
  • Safer
  • November 4, 2015
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+11
  • Contributor
  • August 2, 2023

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+21
  • Safer
  • April 5, 2025
OpenArchived