Transformers such as the matcher appear to use hidden attributes to match on when the attribute matching strategy is set to match all attributes. Is it possible to remove hidden attributes without exposing them first?
Best Answer
Is it possible to remove hidden attributes without having to expose them first?
Best answer by david_r
You're right, it seems like the fme_* attributes enjoy some special protection by the BulkAttributeRemover.
Try this Python script in a PythonCaller instead:
import fmeobjects
def RemoveFMEAttributes(feature):
for attrib in feature.getAllAttributeNames():
if attrib.startswith('fme_'):
feature.removeAttribute(attrib)
Tested with FME 2017 and seems to do the job.
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.
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.




