Skip to main content
Question

Dynamically set "Attributes to Expose" in Feature Reader Parameters

  • August 7, 2023
  • 1 reply
  • 61 views

garbadek
Contributor
Forum|alt.badge.img

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.

1 reply

danminneyatsaf
Safer
Forum|alt.badge.img+12

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.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings