Saving PDFs to your Bubble database
Last updated
Last updated
The below video tutorial demonstrates how to save PDFs to your Bubble database (relevant section is from 08:55):
When generating PDFs with the 'Generate PDF Creator' workflow action, set the 'Save to Database' field to 'yes'
This will result in the PDFs generated being saved to the 'File Manager' section of your Bubble database
However, if you want your users to be able to access the PDFs, it is recommended you:
Create a data type called 'Saved PDFs' (or something similar)
Add a field to the 'Saved PDF' data type called 'PDF URL Link' (text type)
Use the 'When PDF Creator is saved to database' event to create a new 'saved PDF' entry and set the 'PDF URL Link' to be equal to PDF Creator's url
You'll then be able to access PDFs saved down in your database via their saved URL.
You can view an example of how to save PDFs to your Bubble database in the demo app at the below link (relevant section is the 'Saving a PDF to your Bubble database' section)