that have been uploaded by other users in the app. The file type would typically be excel and pdf type
thanks in advance
that have been uploaded by other users in the app. The file type would typically be excel and pdf type
thanks in advance
You can do this using a link element, with the dynamic data being in this format (here File is the data type, and Document is the field where the file is stored):
Here, after you select the field where the file is stored, click āmoreā and youāll have the option to select ā's URLā.
Then you can style the link to look like a button, and that should do it.
thx, and what if there are multiple files (since stored as list of files)?
You would use a repeating group (with the data source being that list), and within each cell is the link element. The dynamic data would be: āCurrent cellās Fileās Documentās URLā, and the User would be able to save each file individually.
The link elementās text could include the name of the file as well (instead of just āDownload Fileā), to show the User what they will be downloading. The dynamic data for the file name would be āCurrent cellās Fileās Documentās file nameā, instead of ā's URLā.
I love your directions @fayewatson. I have spent days and days and days and days reading forums with bad advice on my email issues. After 16 days, nobody can answer my question and Iāve probably spent 30+ hour reading and troubleshooting.
Then when I read stuff by youā¦ everything works in 30 minutes. Itās clear and concise and easy to follow with your screenshot. Youāre awesome!!
@fayewatson I literally look for your name now when Iām trying to figure something as I know the problem will be solved in a matter of 1 hour and not days Thank you!!
Aw, thatās so kind, thank you @mgray! So glad to hear they are helpful! I for sure can only give those examples because of all the awesome posts and examples that other Bubblers made in the forum when I first started out - would be lost without them! I know it feels like a lot of reading sometimes, but over time it all starts clicking and the time spent is absolutely worth it!
@fayewatson have you been able to successfully use this same aspect with SelectPDF? Iām stuck at a point where I can create the PDF (through SelectPDF and my Workflow) but when I want to use a Link Element to download the PDF in a browser or download it, all I get is https://file_name.png. Obviously things arenāt pointed in the correct direction, but Iām not finding solutions on the forum or video content from Bubble.
Have you dealt with this at all?
Hi @hattford, Iām so sorry I havenāt used SelectPDF very much before I hope another Bubbler knows the answer!
Perhaps just go into the app data interface and āSeeā the file. That will expose its true URL. Then you might see where things are going wrong for you.
(You donāt say how it is that youāre coming up with the fileās url as just being protocol//filename. That would be useful info. This might be one of those āoffer to expose your editorā things. The issue youāre having doesnāt relate to Select PDF. Itās about file handling in Bubble.)
Hi, some browsers are blocking the file tab from opening when you click the button. Is there another way to download the file?
Did you have any update on blocked download ? thx
It seems working only with PDF files. I have tried it with .xls and .doc and it was blocked.