Skip to main content
Question

How to get an attribute value as user parameter


I'd like to have the value of an attribute as a user parameter.

I need to make sure tables I work with comply with a schema. The schema field names are in a CSV, imported without column headers. I aggregate the attribute which leaves me with this output:

Screenshot 2022-06-10 at 18.09.50Is it possible to get the string in col0, row 1, as the default value in a user parameter to ensure my output table conforms to the schema? Thanks!

2 replies

DanAtSafe
Safer
Forum|alt.badge.img+18
  • Safer
  • June 11, 2022

Hi @bradosav, user parameters are read into FME before the CSV data. If you use a WorkspaceRunner after reading the CSV then you could make that value the parameter value in the child workspace.


  • Author
  • July 6, 2022

thanks for the answer! I guess it's a bit convoluted to do it that way, even though it is possible.


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