Skip to main content

Is there a way to dynamically set the "Attributes to Expose" option in the Feature Reader Parameters dialog box.

 

I've set a variable equal to the attributes I want, and I've created a user parameter pointing to a .csv file containing the attributes (one on each line), figuring I could update the .csv each time through a loop with the attributes I want from the next file.... but neither of these worked (at least in the form I tried them): imageI apologize for asking so many questions. I promise to answer some when I get better at this.

Hey @garbadek​, you can use a User Parameter to dynamically expose attributes through the Feature Reader. If you share you workspace with us here, we can get a better idea of what you're trying to.

 

It sounds like you want to use attribute values from a csv file to determine what attributes you're going to expose in the FeatureReader. Since attribute values can't be used in the Attributes to Expose parameter, you will need to use a User Parameter. If you want to send values from a CSV file to this parameter, then you will need to use a WorkspaceRunner to send attribute values to this parameter.

 

Let me know if you have any additional questions.


Reply