# \[New Feature\] PDF Generation

**URL:** <https://forum.bubble.io/t/new-feature-pdf-generation/1850>\
**Category:** Announcements\
**Created:** [March 3, 2016, 7:00pm UTC](https://forum.bubble.io/t/new-feature-pdf-generation/1850 "2016-03-03T19:00:05Z")\
**Posts on this page:** 20\
**Page:** 2

<div class="post-metadata">

**Author:** ![nicolas.daprigny](https://avatars.discourse-cdn.com/v4/letter/n/b38774/32.png) [@nicolas.daprigny](https://forum.bubble.io/u/nicolas.daprigny)\
**Post date:** [June 18, 2016, 2:21pm UTC](https://forum.bubble.io/t/new-feature-pdf-generation/1850/21 "2016-06-18T14:21:31Z")

</div>

To have a correct URL, since the result is a file, use Result of step 1 (Generate PDF from…) **'s URL**

---

<div class="post-metadata">

**Author:** ![emmanuel](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/emmanuel/32/27657_2.png) [@emmanuel](https://forum.bubble.io/u/emmanuel)\
**Post date:** [June 18, 2016, 5:58pm UTC](https://forum.bubble.io/t/new-feature-pdf-generation/1850/22 "2016-06-18T17:58:45Z")

</div>

Yes, the AWS URL are stored forever.

---

<div class="post-metadata">

**Author:** ![samuel](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/samuel/32/2239_2.png) [@samuel](https://forum.bubble.io/u/samuel)\
**Post date:** [July 11, 2016, 10:59am UTC](https://forum.bubble.io/t/new-feature-pdf-generation/1850/23 "2016-07-11T10:59:28Z")

</div>

I followed the above process to generate the PDF however I am not able to see any PDFs getting generated/ I am unable to locate the PDF in my system.

Am I missing anything?

App Link: [https://bubble.io/page?type=page&name=purchasing\_page&id=mytestingapp&tab=tabs-1](https://bubble.io/page?type=page&name=purchasing_page&id=mytestingapp&tab=tabs-1)

Please Help

---

<div class="post-metadata">

**Author:** ![emmanuel](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/emmanuel/32/27657_2.png) [@emmanuel](https://forum.bubble.io/u/emmanuel)\
**Post date:** [July 11, 2016, 11:18am UTC](https://forum.bubble.io/t/new-feature-pdf-generation/1850/24 "2016-07-11T11:18:12Z")

</div>

The action returns a link, if you don’t save it you won’t be able to use it indeed…

---

<div class="post-metadata">

**Author:** ![samuel](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/samuel/32/2239_2.png) [@samuel](https://forum.bubble.io/u/samuel)\
**Post date:** [July 12, 2016, 7:49am UTC](https://forum.bubble.io/t/new-feature-pdf-generation/1850/25 "2016-07-12T07:49:18Z")

</div>

Thank you.

I now saved the link and was trying to open it… but it says file was not found 😕

![](https://us1.discourse-cdn.com/bubble/original/2X/1/18728801ee27fce03c7d3c7205fd887572d1948e.png)

---

<div class="post-metadata">

**Author:** ![nicolas.daprigny](https://avatars.discourse-cdn.com/v4/letter/n/b38774/32.png) [@nicolas.daprigny](https://forum.bubble.io/u/nicolas.daprigny)\
**Post date:** [July 12, 2016, 8:16am UTC](https://forum.bubble.io/t/new-feature-pdf-generation/1850/26 "2016-07-12T08:16:41Z")

</div>

here is the url link

 ![](https://us1.discourse-cdn.com/bubble/original/2X/3/363626aa66e52e7725e2e0b124f6bb8b6e3e0824.png)

---

<div class="post-metadata">

**Author:** ![samuel](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/samuel/32/2239_2.png) [@samuel](https://forum.bubble.io/u/samuel)\
**Post date:** [July 12, 2016, 11:19am UTC](https://forum.bubble.io/t/new-feature-pdf-generation/1850/27 "2016-07-12T11:19:49Z")

</div>

Awesome …  
Thanks @nicolas.daprigny

---

<div class="post-metadata">

**Author:** ![hvac\_designer](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/hvac_designer/32/794_2.png) [@hvac\_designer](https://forum.bubble.io/u/hvac_designer)\
**Post date:** [July 19, 2016, 8:26pm UTC](https://forum.bubble.io/t/new-feature-pdf-generation/1850/28 "2016-07-19T20:26:36Z")

</div>

I’ve been trying to find ways of using selectPDF to email a client with an invoice. I have figured out how to use select PDF and have saved the url that it returns.

In terms of what options there are for emailing I would ideally like to have an image of the pdf in the email, but a link to the image would work just as well.

For the image I have been trying to use the BBCode format of [img]selectPDF’url[/img]. I have also tried to save the url as an image file first, and then put the image result inbetween the brackets like so: [img]savedimage[/img].

Neither of these seem to work. I find it somewhat surprising because I can use the selectPDF url as a source to display images in bubble, but it won’t work in an email.

I also tried to use an image uploader with its initial content to be either set as the saved image or the selectPDF url. The good news is that it will display the image correctly in Bubble, but when I try to send an email with the value of the image uploader in [img] tags it still wont display in the email.

This results with me trying to then display the image as a link in the email. Simply using the [url]selectPDFurl[/url] tag in the email. Notice I had to preface the url with http:// as it wouldnt work otherwise. The result of clicking the link is not to view the pdf but it will open a browser and download the pdf and the browser screen is empty. Im hoping my clients will be savvy enough to know that the link opens a file that they would then have to click on to open. If it were an attachment it would be much more easy for my clients to understand what is happening.

After all of this it would easier for me to just avoid the selectPDF process altogether and email them a link to a bubble page which would display the information they would be seeking. Or for me to go to the page, print a pdf in the browser and then send it to them as an attachment in an email.

Anywho, I know the [url] and [img] tags work with other bubble elements that are text or image elements in Bubble. I just cant figure out how to get the pdf to become an image that I can display in an email.

---

<div class="post-metadata">

**Author:** ![ryanck](https://avatars.discourse-cdn.com/v4/letter/r/13edae/32.png) [@ryanck](https://forum.bubble.io/u/ryanck)\
**Post date:** [July 20, 2016, 7:09am UTC](https://forum.bubble.io/t/new-feature-pdf-generation/1850/29 "2016-07-20T07:09:30Z")

</div>

Hi @hvac_designer,

I´ve the same situation and my goal will be to store the PDF somewhere so I can retrieve that PDF file in the email sent from Bubble but I don´t think it´s possible right now.

It would be so nice to have this.

Thanks for your explanation.

---

<div class="post-metadata">

**Author:** ![supernaturally](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/supernaturally/32/8307_2.png) [@supernaturally](https://forum.bubble.io/u/supernaturally)\
**Post date:** [February 6, 2017, 9:16am UTC](https://forum.bubble.io/t/new-feature-pdf-generation/1850/30 "2017-02-06T09:16:20Z")

</div>

I’m using the plugin but am continually getting “SelectPDF failed - Conversion Error. Request was: …”. I’ve now played around with numerous page sizes, etc. and nothing seems to work. (I also have the Demo license key installed).

Has anyone encountered a similar problem?

---

<div class="post-metadata">

**Author:** ![propvideo](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/propvideo/32/5491_2.png) [@propvideo](https://forum.bubble.io/u/propvideo)\
**Post date:** [February 6, 2017, 12:58pm UTC](https://forum.bubble.io/t/new-feature-pdf-generation/1850/31 "2017-02-06T12:58:58Z")

</div>

Did this work for you before. Also doing some tests, to try to figure why stopped working on my application too

---

<div class="post-metadata">

**Author:** ![propvideo](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/propvideo/32/5491_2.png) [@propvideo](https://forum.bubble.io/u/propvideo)\
**Post date:** [February 6, 2017, 1:05pm UTC](https://forum.bubble.io/t/new-feature-pdf-generation/1850/32 "2017-02-06T13:05:01Z")

</div>

Did a isolated test and it appears working - [https://bubble.io/page?name=index&id=sendpdftest4&tab=tabs-3](https://bubble.io/page?name=index&id=sendpdftest4&tab=tabs-3)

The issue for me, must be something else. It is in a API workflow - let me check

---

<div class="post-metadata">

**Author:** ![propvideo](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/propvideo/32/5491_2.png) [@propvideo](https://forum.bubble.io/u/propvideo)\
**Post date:** [February 6, 2017, 1:33pm UTC](https://forum.bubble.io/t/new-feature-pdf-generation/1850/33 "2017-02-06T13:33:24Z")

</div>

Yep - after some tests seems API workflow was broke for me for SelectPDF.

Reported via Bug

---

<div class="post-metadata">

**Author:** ![propvideo](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/propvideo/32/5491_2.png) [@propvideo](https://forum.bubble.io/u/propvideo)\
**Post date:** [February 6, 2017, 1:34pm UTC](https://forum.bubble.io/t/new-feature-pdf-generation/1850/34 "2017-02-06T13:34:43Z")

</div>

Getting back to your point @supernaturally - did you manage to make it work normally - i.e normal workflow

---

<div class="post-metadata">

**Author:** ![supernaturally](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/supernaturally/32/8307_2.png) [@supernaturally](https://forum.bubble.io/u/supernaturally)\
**Post date:** [February 6, 2017, 6:06pm UTC](https://forum.bubble.io/t/new-feature-pdf-generation/1850/35 "2017-02-06T18:06:35Z")

</div>

No, I haven’t been able to get the plugin to work at all. It looks like I’m going to have resort to Postman to see what’s going on. I’ll update soon.

---

<div class="post-metadata">

**Author:** ![supernaturally](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/supernaturally/32/8307_2.png) [@supernaturally](https://forum.bubble.io/u/supernaturally)\
**Post date:** [February 7, 2017, 8:26pm UTC](https://forum.bubble.io/t/new-feature-pdf-generation/1850/36 "2017-02-07T20:26:38Z")

</div>

Update: So I figured out that it wasn’t working because my app required a username and password to login and view. If you disable that feature in Bubble, it works…if you enable it, it won’t work until you remove the username/password from your private app.

---

<div class="post-metadata">

**Author:** ![vincent56](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/vincent56/32/16009_2.png) [@vincent56](https://forum.bubble.io/u/vincent56)\
**Post date:** [February 12, 2017, 12:31am UTC](https://forum.bubble.io/t/new-feature-pdf-generation/1850/37 "2017-02-12T00:31:55Z")

</div>

I get the same error but it has nothing to do with the username/password.

I have spent hours trying to get the print page to display my template so that it prints correctly. It is a sticker sheet and needs to be pasted very accurate. From the second page on, the group either creeps up or down according to the element height or the x value.

At one point I decided to create multiple RG’s that would hold items ‘until 11’, the other group holds items 'from 11 until 21.

This worked fine until I tried the third group. (and I need a lot more)

The error is very general and doesn’t say anything other than what it tried to do and it failed. If it was a timeout error I could point to the fact that the max load time should be increased (it is set to 120 seconds now) but the workflow action doesn’t take more than 30 seconds currently.

Will try again tomorrow, see if I can fix it. ☹

---

<div class="post-metadata">

**Author:** ![supernaturally](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/supernaturally/32/8307_2.png) [@supernaturally](https://forum.bubble.io/u/supernaturally)\
**Post date:** [February 12, 2017, 4:59am UTC](https://forum.bubble.io/t/new-feature-pdf-generation/1850/38 "2017-02-12T04:59:18Z")

</div>

Yeah, SelectPDF is a really scrappy tool. I have about 7 repeating groups that I use as well to generate multiple pages. The only downside to this solution is that the PDF still generates blank pages when groups are hidden because the page height cannot be changed.

It’s not a perfect solution, but it works, nonetheless.

---

<div class="post-metadata">

**Author:** ![jasondiehl07](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/jasondiehl07/32/50629_2.png) [@jasondiehl07](https://forum.bubble.io/u/jasondiehl07)\
**Post date:** [March 29, 2017, 3:55am UTC](https://forum.bubble.io/t/new-feature-pdf-generation/1850/39 "2017-03-29T03:55:38Z")

</div>

Hi @hvac_designer, Regarding [quote=“hvac\_designer, post:28, topic:1850”]  
Neither of these seem to work. I find it somewhat surprising because I can use the selectPDF url as a source to display images in bubble, but it won’t work in an email.

I also tried to use an image uploader with its initial content to be either set as the saved image or the selectPDF url. The good news is that it will display the image correctly in Bubble, but when I try to send an email with the value of the image uploader in [img] tags it still wont display in the email.  
[/quote]

The problem I’m facing is when I use the pdf saved url and display it as an image, it’s only producing the first page of the PDF. Did you also find this problem and is there a workaround?

Thanks.  
JD

---

<div class="post-metadata">

**Author:** ![bubbleguy](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/bubbleguy/32/26187_2.png) [@bubbleguy](https://forum.bubble.io/u/bubbleguy)\
**Post date:** [March 30, 2017, 1:51am UTC](https://forum.bubble.io/t/new-feature-pdf-generation/1850/40 "2017-03-30T01:51:00Z")

</div>

Hey @jasondiehl07 ,

It looks like the SelectPDF plug-in does create multipage pdfs. I’ve made a public app to test with if you like.

> **[Bubble - Visual Programming](https://pdf-generation-bubbleguy.bubbleapps.io/longpagepdf)**
>
> Build stuff without code and launch a startup without a tech-cofounder! Bubble is a visual programing language. Instead of typing code, use a visual editor to build applications.

There is a checkbox when the pdf is generated as to keep the ‘images together’ or not but it doesn’t seem to make a difference if the pdf is multipage or not.

You can see the editor here: [https://bubble.io/page?type=page&name=longpagepdf&id=pdf-generation-bubbleguy&tab=tabs-1](https://bubble.io/page?type=page&name=longpagepdf&id=pdf-generation-bubbleguy&tab=tabs-1)

[Previous page](https://forum.bubble.io/t/new-feature-pdf-generation/1850.md?page=1)

[Next page](https://forum.bubble.io/t/new-feature-pdf-generation/1850.md?page=3)
