We use in Wordpress Formidable to build a form, where the user can upload multiple files in a form.
We use the formidable forms - watch Entries. There we can the files. Formidable build an array from the form. But in the modul “get a file” there is only the first array position.
I can’t use the other array positions [2] and [3].
Thank you.
When you see (Array), think Iterator module.
The iterator module with the array variable “Hier konnen…” will allow you to split the file URLs into separate bundles, which you can then download individually, etc.
For more information, see “Mapping with Arrays” below:
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 —
General
Help Center Basics
Articles & Videos
samliew – request private consultation
Join the unofficial Make Discord server to chat with other makers!
Ok thank you. It works. Now i get more files. I use now the modul “get a file”. The module recieves 3 files in this example.
After that module i have an “http request modul” for api and it sends three request, because there are three files.
What can i use to entrie the files in one request?
Thank you.
Does somebody has any idea?
Every result (item/record) from an Iterator module will output a bundle. To “combine” them into a single structure, you’ll need to use an aggregator of some sort.Aggregators are modules that accumulate multiple bundles into one single bundle. An example of a commonly-used aggregator module is the Array aggregator module.
Hope this helps! Let me know if there are any further questions or issues.
samliew – request private consultation
Join the Make Fans Discord server to chat with other makers!
No. It doesn’t work.
I get with the modul “get the file” three files. All have the same name: file.pdf
The aggregator modul make one output bundle with the array
I will send the three files with a http request. But it send only the first file.
thank you
You did not map the array directly into the Fields field.
Every result (item/record) from an iterator module will output a bundle. To “combine” them into a single structure, you’ll need to use an aggregator of some sort.Aggregators are modules that accumulate multiple bundles into one single bundle. An example of a commonly-used aggregator module is the Array aggregator module.
Read This
The Array Aggregator module allows you to build a complex array of collections for a later module’s field to map multiple items (collections) to it.
Here is an example of using the “Target structure type” of an Array Aggregator module:
As you can see, the “Map” toggle on fields are used when you have an array. You can easily build an array variable to map to a field, by using an Array Aggregator module and select the “Target Structure Type” as the future field you want to map the array into.
Hope this helps! Let me know if there are any further questions or issues.
samliew – request private consultation
Join the Make Fans Discord server to chat with other makers!