I would like to add a dynamic collection to my module that can be populated by the user.
Something like:
But instead of the query string it will be my own collection, for example {{parameters.myData}}
Is this possible?
Thanks,
I would like to add a dynamic collection to my module that can be populated by the user.
Something like:
But instead of the query string it will be my own collection, for example {{parameters.myData}}
Is this possible?
Thanks,
Welcome to the Make community!
Yes, that field is simply an array type.
samliew – request private consultation
Join the unofficial Make Discord server to chat with other makers!
Hi Sam,
I initially thought that “array” would work, but it’s not what I’m looking for.
The resulting data of that field should be something like:
“myData”: {
“my_var1”: “value1”,
“this_is_var2”: “value2”,
“var3”: “value3”
}
So the user should be able to add multiple key-value pairs that are stored in a collection.
Thanks in advance.
An array is correct.
The resulting output would be more like this:
“myData”: [
{
“key”: “my_var1”,
“value”: “value1”
},
{
“key”: “this_is_var2”,
“value”: “value2”
},
{
“key”: “var3”,
“value”: “value3”
}
]
samliew – request private consultation
Join the Make Fans Discord server to chat with other makers!
This topic was automatically closed after 31 days. New replies are no longer allowed.