Skip to main content
Solved

FeatureReader: Attributes are not exposed

  • September 26, 2017
  • 2 replies
  • 138 views

Forum|alt.badge.img

Hello,

I am using a path and directory reader followed by an attribute filter on the file extension and a FeatureReader and, finally a Writer. I want to use the path_rootname as the basename for the file to be written, but the path_rootname is not available anymore after the FeatureReader (I can see it after the Attribute filter). I have exposed path_rootname in the FeatureReader Reader Parameters and under Output-Attributes to expose but if I add an Inspector after the FeatureReader, the values of path_rootname are <missing>.

Would be happy about any hints!

Best answer by takashi

Hi @ludhil, have you set "Merge Initiator and Result" to the Accumulation Mode parameter in the FeatureReader?

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.

2 replies

takashi
Celebrity
  • 7843 replies
  • Best Answer
  • September 26, 2017

Hi @ludhil, have you set "Merge Initiator and Result" to the Accumulation Mode parameter in the FeatureReader?


Forum|alt.badge.img
  • Author
  • 5 replies
  • September 26, 2017

Hi @ludhil, have you set "Merge Initiator and Result" to the Accumulation Mode parameter in the FeatureReader?

Thanks @takashi, that was it!