Services Plugins FAQs

AWS Uploader - Processing the List?

I’m using the AWS uploader and it’s working without issue to post the images to S3 and to populate the Fileuploader A object. However, Fileuploader A is not an option to pass to Schedule API on a List workflow. I can pass the list of Filenames or the list or URLs to an API, but there is no relationship that can be extracted to the API. For example, if I pass the list of filenames and the list of URLs I don’t find a way to save the related URL and filename to the same record.

Ultimately, I simply want to save the batch of uploaded images to an “Uploaded Images” data type of filename, URL, filesize.

I’ve tried the S3Objects method to get the list of what has been uploaded, but again, it seems that I can only process the list of filenames or the list of URLs without a relationship.

The demo doesn’t show how to actually process the list to the backend. It only shows the population of the page objects.

I’ve tried several list processing plugins, but no difference. All seem to process a single item list (instead of the array of filename, URL, filesize, etc)

How do I process the result to commit the filename, URL, filesize for the current batch of uploaded images?

Hello, @jlexer
Thanks for reaching out.

The plugin comes with the multi-file uploader element as well as S3 objects element that returns a list of all the files uploaded to your AWS S3 bucket or a special folder on that bucket. The plugin also allows you to delete S3 objects from your bucket.

Each uploaded file has its own visual progress bar, so you or your users can see the upload progress. Plugin will also return a state with file URL(s), file size(s), last modified date(s), etc.

So, using this plugin, you receive exactly this information:

Additionally, all this information is saved in the DataBase and your S3 bucket.
You don’t need to create any Backend Workflow or extract the information through the API.

In order to help you and provide more specific information, can you please let us know which exactly information you need to receive and the purposes of using the API?

Looking to hearing from you soon.
Best regards,

@Ecaterina thank you for your reply. I think my confusion is around what you are describing as “database” in your comment:

Additionally, all this information is saved in the DataBase and your S3 bucket.

When I am referring to database, I am describing a Data Type/table stored on the Bubble server. In my case, I have created a data type named Uploaded Images with fields filename(text), URL(text), filesize(number). To my knowledge/expectation the AWS Uploader plugin does not create its own datatype when installed. Instead, it performs all its processing and makes the results available to the browser memory all it’s in a “Fileuploader A” object (given this is the first fileuploader installed on the page).

So if we’re in agreement on the above and Fileuploader only makes the results available to the browser and not directly to the database, my question is essentially how to process the results in order to actually write it to the database?

The API I was referring to was a private API internal to my app, as this appears to be Bubble’s default method of processing a list. However, I can only seem to pass a single element of Fileuploader as “the List” to process. That is, I can only pass Fileuploaders List of Filenames, Fileuploaders List of URLs, or Fileuploaders List of File sizes. I can’t seem to pass the full object to process as a list. If I pass the list of URLs, the relationship between the other elements is not identifiable.

Hello, @jlexer
Thanks for the detailed explanation of your request.

Please allow me to describe more about this plugin and its features.
The multi-file uploader element (as well as the S3 objects element) returns a list of all the files uploaded to your AWS S3 bucket or a special folder on that bucket. The plugin also allows you to delete S3 objects from your bucket.

The main purpose of the plugin - allowing you or your users to upload files from Bubble apps directly to your AWS (Amazon Web Services) S3 Bucket.

File uploader element lets you easily upload files into your S3 Bucket using the User Interface.

Moreover, the File URL can be stored in the Bubble DataBase, as was demonstrated in my previous screencast.

Our plugin doesn’t process the files to store them in the browser memory, but stores the URLs of the files within the AWS and Bubble DB.

Can you please elaborate more about this request? What do you mean by “passing the full object to processing a list”?

Please check our Demo Page in order to find the features of the plugin and visual demonstration of them. Also, please check the documentation: https://docs.zeroqode.com/plugins/aws-file-uploader-plugin

I hope that this material will help you.
Looking to hearing from you soon.
Best regards,