What are you trying to achieve?
Hello.
I have Array of Collections as shown on the pic. I want to get values of collections with names: authorName, authorContacts, songID.
Help me, please.
Hello.
I have Array of Collections as shown on the pic. I want to get values of collections with names: authorName, authorContacts, songID.
Help me, please.
Hi, To extract the values of autorName
, autorContacts
, and songID
using the get
and map
functions, you can use the following setup:
Iterator Module:
{{1.variables}}
Text Aggregator Module (for autorName
):
{{get(map(1.variables; "value"); indexOf(map(1.variables; "name"); "autorName"))}}
Same for autorContacts and songID
So if I have 7 variables, I should have 7 Text Aggregators? I think there is a better way.
You can use the built-in function toCollection
e.g.:
{{ toCollection(1.variables; "name"; "value") }}
For more information, see the function documentation in the Help Center.
Here are some useful links and guides you can use to learn more on how to use the Make platform, apps, and app modules. I found these useful when I was learning Make, and hope they might benefit you too —
parseDate
| Tokens for formatDate
samliew – request private consultation
Join the unofficial Make Discord server to chat with other makers!
Very cool! Thanks. You help me a lot.