10. Send Files in a Message
Last updated
Last updated
The template uses Bubble's Multifile Uploader plugin to allow the Current User to send files, using the combination of elements below:
Popup Multifile Uploader (Files) Element
The actual Multifile Uploader (Files)
element is transparent, and placed on top of the IonicIcons Attach Files
element. When the transparent Multifile Uploader (Files)
element is clicked, the file selector will immediately open, so the Current User can select their files.
After the Current User selects their photos to upload, they are uploaded to your app's storage, and the transparent Multifile Uploader (Files)
element becomes hidden. Then, the Repeating Group Uploaded Uploaded Files (Files)
element becomes visible which displays each file's name and a delete button in each cell.
This custom setup makes sure that when the delete button is clicked next to a file, that file is completely removed from the app's storage (since the Current User decided not send it, we don't want unused files taking up space in the app's storage).
More specific information on these workflows can be found in the D. Files/Images/GIPHYs workflow folder and the delete_uploaded_files API workflow.
Note: A personal plan or higher is needed to run API workflows.