I am not sure if this exists in Bubble but I wanted to know if there was a workflow to delete a list of images files associated with a client. I do see the delete upload file (single file) but I need delete all files in the file manager without triggering an API.
You don’t have delete list option you need to do one by one.
However, what you can do is create a loop client side, you need two custom events calling each other as a loop.
You can delete a list of file, but you need to first selected them one by one.
Bulk request to backend WF is a better option but only if your file are attached to things/field. Also, don’t forget that all files uploaded, included the files in editor like a background for a page are listed there.
If files are not attached to a thing, there’s a way using an API call to do the request. But it’s more complex to create (reverse engineering Bubble file manager)
Thank you for your reply and your suggestions. I will try them to see how it works.
The way I’d do it is by using Trigger workflow on a list on the list you want to delete (in your case, all files associated with the client).
Workflow to trigger Delete an uploaded file.