Skip to main content
Question

How to get an attribute value as user parameter

  • June 10, 2022
  • 2 replies
  • 376 views

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+19
  • Safer
  • 344 replies
  • 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
  • 8 replies
  • July 6, 2022

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