We have saw your message over email and already replied over there and will write here as well, please feel free to continue our discussion where it is more confortable for you.
From your message, we understoodd that you have successfully integrated the Page to PDF plugin in your app and would like to display the generated PDF.
To better understand your needs and assist you, could you please provide more details on how exactly you want to display the PDF in your repeating group (RG)? If you wish to display it as an image, after generating the PDF, you can use the element’s state “output file URL” as the image source, and it will be displayed there.
Please let us know if this addresses your query, or if you could clarify what exactly you mean by
The Page to PDF plugin allows you to generate PDF files with various settings and formatting options. You can use the element’s state “output file URL” to access your generated PDF and save it as a file in your database.
Could you please clarify what you mean by displaying the PDF files in the RG? Specifically, how would you like the PDFs to be displayed and in what context?
Once I’ve clicked on the send proforma by email button, I’d like the file to be saved in my database and in file manager bubble, then I’d like to display in my RG invoice or elsewhere an icon (PDF) with an external link or, better still, an internal viewing popup window.
I’ve created a PDF icon with a link and destination: output file URL but it doesn’t work, nothing is displayed!
Thank you for your message, and apologies for the late reply over the weekend.
We also noticed that you’ve been reaching out through multiple channels, such as forums and email. To streamline our communication and ensure a better response, we kindly ask that we keep our discussion on one thread which is more confortable for you.
Regarding your question, in your image it looks like you were setting “http:” before the element’s state “output file URL”—this might be why the file is not showing up. Could you please try using simply “output file URL” after the PDF has been generated and see what result you get?
Regarding viewing the PDF file itself in a pop-up, you might consider using another plugin designed for viewing files. For example, you might consider the Air Document Viewer, which allows you to display Microsoft and Google documents within your Bubble app without downloading the files.
Hope this proves helpful to you. Please let us know about your progress or if you have any other questions.
If you want to save a PDF file in a table from your database, you can use the plugin’s “Converting is finished” event and save it using Bubble’s functionality:
You’re always welcome to reach out to us with any plugin-related questions or concerns.
However, for Bubble functionalities, it might be more helpful to consult online resources such as the Bubble manual, YouTube tutorials, or related threads on the Bubble forum.
Also you also can find information on plugin by visiting their demo page editor and documentation.
Thank you for your understanding, and we wish you a great day ahead!
From your message, it appears that you have successfully saved the PDF in your data table. However, it’s not entirely clear what you intend to do afterward.
In the first step, when you save the video, you’re storing it in the “Proforma” field of the DB_Facturation_Fichier table. If you want to save the file in other tables as well, you can either use the same element state in the workflow as in the first case or save the file in a state within your app for later use.
To better understand how databases work in Bubble, please refer to the Bubble manual: The database | Bubble Docs
Thank you for your understanding. Have a great week ahead!