Fusion: How to Get an Object Value if Key has Periods in it?
Hello everyone -
I'm trying to use the "get (object; path)" function to get field values out of the parameterValues object.
I set a variable such as MY-VARIABLE to have the name of the field I want such as: "DE:My Field Name Here"
Then I get the field value using "get" as follows: {{get(`1.body.data.parameterValues; MY-VARIABLE)}}
This works great if the field name has no periods. But if the field name has periods, such as "DE:My.Field.Name.Here", it always returns empty (apparently it's conflicting with the dot-notation used in "get").
So, my question: is there a way to deal with periods in the key name within "get" above?
Or, alternately: is there a way to parameterize the field name within field mapping syntax, i.e. to use a variable such as MY-VARIABLE instead of a literal field name, such as:
{{1.body.data.parameterValues.`DE:My.Field.Name.Here`}} => {{1.body.data.parameterValues.MY-FIELD-VARIABLE}}
Something tells me I'm missing something really obvious here.... any ideas, anyone?
Thank you in advance!
