Services Plugins FAQs

How to populate a Repeating Group with AWS FileUploader?

I want to create a repeating group that is populated based on each file that my users select using the AWS Fileuploader. Simply put, if my user selects 5 files to upload, the repeating group is immediately populated with those 5 files, one on each row. I know that the Fileuploader has a variety of states that can be accessed but I’m not finding the right combination of information to get my RG to populate.

I have a few other questions, but this is the one where we need to start. Anyone have any experience doing this or can share an example?

Thanks

Hi @underhill.dan,

You can use the List of File URL state in this case.

First, please enable Multiple files feature here:

image

And disable these two:

image

Then you can use the plugin state into a custom state, as example:

You create a custom state of type text, and make it a List of texts to be able to use it in your RepeatingGroup as Data source. (you can use the Element to be your whole page)

Then place the RepeatingGroup with the following setup:

image

As you can see the resulted custom state is a List of texts which makes it a valid Data source in this case, and then you simply place an Image element into your RG cell:

And indicate the Current cell’s text object. Bubble will automatically split the items from your list
as text objects and display them likewise:

image

Here I have uploaded 2 images, and here is the following result from RG:

Hope it helps.

P.s: our team is still working on that NoGUI investigation, so I’ll keep you updated!