Dynamic Collection of fields

I would like to add a dynamic collection to my module that can be populated by the user.
Something like:
Screenshot 2024-05-27 at 15.43.12

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.

samliewrequest private consultation

Join the unofficial Make Discord server to chat with other makers!

2 Likes

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”
}
]

samliewrequest private consultation

Join the Make Fans Discord server to chat with other makers!