There is another approach using an iterator it turns out by using a little known toArray() trick on an array which changes the original array in a subtle but very useful way.
In the iterator you do toArray(itemOptions) …
This is done so that you get the following output bundles:
Each key value pair is now in its own collection called “Value”
Then in the text aggregator you can just dig into the current Value collection being iterated, using this expression:
{{first(keys(46.value))}}: {{get(46.value; keys(46.value))}}
The first(keys()) part part extracts the key name from the Value collection, then the : delimiter, and then you get the value part of the key/value by using the get() function.
–
Alex Sirota
Director of NewPath Consulting - we are Make Heroes!
Check out my series of videos and scenario walkthroughs for Make Newbies