Skip to main content
Question

Fanout based on attribute in a dynamic feature writer

  • April 3, 2019
  • 2 replies
  • 113 views

raaaju1990
Contributor
Forum|alt.badge.img+9

I have a dynamic feature reader (reading schema and generic ports) and a dynamic feature writer. I need to fanout the dataset based on an attribute and then write it. But, using dynamic writer the incoming attributes are not visible. Is there any possible way to make the attributes visible and then fanout?

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

itay
Supporter
Forum|alt.badge.img+18
  • Supporter
  • April 3, 2019

HI @raaaju1990,

 

Since you are writing dynamically, the incoming schema features should be created based on the value of the attribute you are using to fan out, otherwise the dynamic writing wont find the correct schema to create the fan out dataset.

Hopefully this article might help.

Itay


Forum|alt.badge.img

If an attribute is not visible you can make it visible with the AtributeExposer. It is also possible to expose an attribute directly in the FeatureReader transformer. You can then use the exposed attribute for the fanout.