Templates Plugins Courses

PDF converter - saving generated pdf to App data

I am trying to save a generated pdf to my app data, so have selected “Upload PDF to Bubble AWS”.
The generated pdf is now shown in my File Manager, but I want to add it to a particular datatype in my database, and for some reason I have no idea how to do it.

I have tried the following:
-Add the “Convertto PDF A’s Output file URL” to my chosen database field (whose type is list of “files”)
-Only when “Convertto PDF A’s converting is finished is “yes” and Convertto PDF A’s Uploading to AWS is finished is “yes”.”

I’ve been scratching my head on this for a while, so would be very grateful for any pointers!
Thanks
Dave

Hello David,

You went into correct direction, to achieve what you need go to workflows and find an event “When Convert page uploading to AWS is finished”:

On Step3 the File is written to your Files thing in DB. On step 4, I write the file to created by me thing Order, field ‘pdf’ that is of file type and is the list of things.

Please give it a try and if you have any difficulties write to me again.

Kind regards,
Olga

Thank you Olga,

That did the trick.

Dave

1 Like

Hello @david.simons

Glad it worked out well.

If you like our plugin, could you please rate it by going to Plugins tab in Bubble editor? You can find the plugin by name and give it as many stars as it deserves :slight_smile: The more feedback we get, the more motivated to build great plugins :slightly_smiling_face:

Kind regards,
Dumitru.

Of course! Done. :grinning:

1 Like

Hi Zeroqode Team!

I want to buy your plugin for converting page to pdf.
Tell me please, will the file be able to load dynamic data correctly? I need users to convert the results of their survey (one page; different data for each user) into pdf.
And also one more question: is it possible to send the generated file to the mail, as well as use links in the file (on the page)? In order for the user to be able to switch from pdf to the desired the bubble page in web app?

Thanks in advance!

Hi @marova.alesya,
Sorry for the late reply and thanks for your questions.

Sure thing, this plugin will help you generate a PDF of the desired data for each user.

It’s also possible with the “send email” action. For example, you can follow these steps:

  1. Page is loaded > Convert element to PDF (sometimes “Add pause before the next step” is needed before the Convert to PDF action);
  2. Do when ConverttoPDF A Output file URL is not empty > Create a new thing (create a new DB table where you will save your PDF file and URL > Add pause before next action > Send email - Screenshot by Lightshot

I believe you can show the link to the page in the mail, according to Bubble’s logic. For example, you can place a text element to the page you are going to convert that shows the link to the current page. So, this page will contain the link in the mail.

In case I can help you with any additional information, please let me know. :slightly_smiling_face:

Best,
Gulce

1 Like

Thank you for the detailed response!

About the links:
Is it possible to put the “link” element on the page and when clicking on this element in the pdf document, the user will be able to go to the desired pages?
In more detail, after the questionnaire, the user is given several recommendations, by clicking on which he goes to separate Bubble pages.
Will the pdf document be able to store these links? (as in some pdf documents there are links that you can click on and go to another source, research, for example)
Let me know if I need to describe my case in more detail.
Thank you in advance!

Hello, @marova.alesya
Thank you for your patience. :pray:t2:

Yes, it’s possible to place the “Link” element on the page that you will convert. Thus, the user will be able to navigate to the desired bubble page after downloading the PDF via mail.

Also, in order to send the pdf file via e-mail, we need to save it to the database as I mentioned before. Since there is no exact time to save the PDF, I recommend you to use the “schedule a custom event” action for the plugin to work properly.

Please see the video for a better understanding: Loom | Free Screen & Video Recording Software

Let me know if you have any other questions. :slightly_smiling_face:

Best,
Gulce