โ07-12-2018 07:56 AM
I am using a mapper snap to extract data from a json schema. This is the code from the expression
{id:$id}.extend($.fieldValues.map (elem => [elem.id, elem.type, elem.value]))
What I want to do is place this in a pipeline parameter (so can change this equation from the config file).
I canโt figure out the expression syntax. Here is a screenshot of my latest failure. ๐
โ07-12-2018 10:06 AM
See this thread: Pipeline parameters
โ07-12-2018 12:22 PM
Thanks for this. I am currently using the pipeline parameter to pass this information.
My question is really how to write the syntax.
I have put the function (that I need to variablize) into the Pipeline parameter _field1 but I canโt get it to run
โ07-13-2018 10:44 AM
you shouldnโt need parenthesis around the name. โ_field1โ should work.
โ07-13-2018 12:07 PM
When I try it without the parenthesis around the name. โ_field1โ All I get is the parameter as a string.
Snap,
Any ideas??