# \[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:** 3

<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:** [March 30, 2017, 7:00am UTC](https://forum.bubble.io/t/new-feature-pdf-generation/1850/41 "2017-03-30T07:00:05Z")

</div>

I use Google preview tool to display pdf’s:

`<iframe width="100%" height="100%" src="http://docs.google.com/gview?url=http:Parent group's File's File's URL&embedded=true" allowfullscreen ></iframe>`

---

<div class="post-metadata">

**Author:** ![alex5](https://avatars.discourse-cdn.com/v4/letter/a/3e96dc/32.png) [@alex5](https://forum.bubble.io/u/alex5)\
**Post date:** [May 10, 2017, 10:37am UTC](https://forum.bubble.io/t/new-feature-pdf-generation/1850/42 "2017-05-10T10:37:26Z")

</div>

Hi,

If I want to create a PDF and email thereafter.

The data to put in the PDF is generated from within a workflow scheduled on a list and there is no page to pass to SelectPDF.

Can selectPDF be fed data by my background workflow (a record at a time) and build a file that can then be emailed when the workflow ends?

I’m struggling on how to do this. Any ideas are welcome!!

Many thanks in advance,

Alex

---

<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:** [May 10, 2017, 12:49pm UTC](https://forum.bubble.io/t/new-feature-pdf-generation/1850/43 "2017-05-10T12:49:56Z")

</div>

You should take a look at this post to see how it works: [[New Feature] PDF Generation](http://forum.bubble.io/t/new-feature-pdf-generation/1850/40)

---

<div class="post-metadata">

**Author:** ![ragzbiz](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/ragzbiz/32/13866_2.png) [@ragzbiz](https://forum.bubble.io/u/ragzbiz)\
**Post date:** [June 25, 2017, 7:52am UTC](https://forum.bubble.io/t/new-feature-pdf-generation/1850/44 "2017-06-25T07:52:05Z")

</div>

hi … i’ve created the workflow as per your screenshot … but I still get an error … could you please help me fix the issue…

 ![](https://us1.discourse-cdn.com/bubble/original/2X/0/09d5942a1b6478f1c8aafd3d4e6e13a3d65a1614.png)

---

<div class="post-metadata">

**Author:** ![funwtp](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/funwtp/32/27279_2.png) [@funwtp](https://forum.bubble.io/u/funwtp)\
**Post date:** [June 25, 2017, 7:00pm UTC](https://forum.bubble.io/t/new-feature-pdf-generation/1850/45 "2017-06-25T19:00:53Z")

</div>

The result of “Generate PDF …” is a link, so I reckon you don’t need “'s URL”, just put “Result of Step 1”.

---

<div class="post-metadata">

**Author:** ![ragzbiz](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/ragzbiz/32/13866_2.png) [@ragzbiz](https://forum.bubble.io/u/ragzbiz)\
**Post date:** [June 26, 2017, 12:15am UTC](https://forum.bubble.io/t/new-feature-pdf-generation/1850/46 "2017-06-26T00:15:21Z")

</div>

it still getting highlighted as an issue as shown below ☹

![](https://us1.discourse-cdn.com/bubble/original/2X/4/4ca95991dff7bed9316d75f6fde38bae4ad2dd13.png)

---

<div class="post-metadata">

**Author:** ![ragzbiz](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/ragzbiz/32/13866_2.png) [@ragzbiz](https://forum.bubble.io/u/ragzbiz)\
**Post date:** [June 26, 2017, 12:57am UTC](https://forum.bubble.io/t/new-feature-pdf-generation/1850/47 "2017-06-26T00:57:21Z")

</div>

also, is it possible to print/convert only selected group elements into a PDF or download as pdf??

---

<div class="post-metadata">

**Author:** ![funwtp](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/funwtp/32/27279_2.png) [@funwtp](https://forum.bubble.io/u/funwtp)\
**Post date:** [June 26, 2017, 1:00am UTC](https://forum.bubble.io/t/new-feature-pdf-generation/1850/48 "2017-06-26T01:00:56Z")

</div>

Okay… Some trail and error time here…

So.

The result of “Generate PDF…” is TEXT. Your “link” must be “text” type.

The result of “Generate PDF…” when inserted in a “text” type field is in “[//s3.amazonaws.com/appforest\_uf/f1](https://s3.amazonaws.com/appforest_uf/f1)…” format.

If you want to get the “[//s3.amazonaws.com/app](https://s3.amazonaws.com/app)…” to be a useable URL link in “text” format inserted into a “text” type field, you need to replace “//s3” in your Result of “Generate PDF…” by “[https://s3](https://s3)”.

Hope this works for you, but let us know 🙂

---

<div class="post-metadata">

**Author:** ![funwtp](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/funwtp/32/27279_2.png) [@funwtp](https://forum.bubble.io/u/funwtp)\
**Post date:** [June 26, 2017, 1:02am UTC](https://forum.bubble.io/t/new-feature-pdf-generation/1850/49 "2017-06-26T01:02:57Z")

</div>

I did it by creating a new “specially dedicated” page, where this “selected group” was. This was you can kinda hide the slowness of Generate PDF step.

But if you work out any other solution, do let us know.

---

<div class="post-metadata">

**Author:** ![ragzbiz](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/ragzbiz/32/13866_2.png) [@ragzbiz](https://forum.bubble.io/u/ragzbiz)\
**Post date:** [June 26, 2017, 6:38pm UTC](https://forum.bubble.io/t/new-feature-pdf-generation/1850/50 "2017-06-26T18:38:17Z")

</div>

> **[Bubble Editor - pdf-generation-bubbleguy](https://bubble.io/page?type=page&name=longpagepdf&id=pdf-generation-bubbleguy&tab=tabs-1)**
>
> 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.

I was able to generate and print pdf by following the above link …

unfortunately, the groups (and content) that I need to print are under second tab on a page. so when i generate the pdf for this page, only the tab1 contents are shown in the pdf instead of the tab 2’s content …

is there a way i can fix this …? like this every page has 2 tabs (around 8 pages) and for each page the second tab’s content need to be displayed in the pdf

---

<div class="post-metadata">

**Author:** ![funwtp](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/funwtp/32/27279_2.png) [@funwtp](https://forum.bubble.io/u/funwtp)\
**Post date:** [June 26, 2017, 9:56pm UTC](https://forum.bubble.io/t/new-feature-pdf-generation/1850/51 "2017-06-26T21:56:56Z")

</div>

Not sure about tabs…

Try to set conditions that will hide unwated tabs? This can be done with URL paramentrs.

---

<div class="post-metadata">

**Author:** ![timothymugendi](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/timothymugendi/32/148742_2.png) [@timothymugendi](https://forum.bubble.io/u/timothymugendi)\
**Post date:** [March 28, 2018, 3:49pm UTC](https://forum.bubble.io/t/new-feature-pdf-generation/1850/52 "2018-03-28T15:49:44Z")

</div>

Hi Guys,

I got the same error but resolved by setting minimum load time to 30 seconds. Only that now dont get any results. I have set my gmail to receive PDF. I have ready the entire conversation but i don’t seem to get anyone with a similar issue as mine.

 ![image](https://us1.discourse-cdn.com/bubble/original/3X/c/e/ce9f0ec11d1d6dbb68fd7cea4b7e1ffee2047802.png)

What could I be doing wrong?

---

<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:** [March 28, 2018, 4:05pm UTC](https://forum.bubble.io/t/new-feature-pdf-generation/1850/53 "2018-03-28T16:05:22Z")

</div>

We’re looking into some issues around PDF generation. See this thread for updates

> [@SelectPDF issue](http://forum.bubble.io/t/selectpdf-issue/26682/1):
>
> We have received reports from several users regarding issues with the SelectPDF plugin. We are investigating the issue right now and will post updates to this thread.

---

<div class="post-metadata">

**Author:** ![timothymugendi](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/timothymugendi/32/148742_2.png) [@timothymugendi](https://forum.bubble.io/u/timothymugendi)\
**Post date:** [March 28, 2018, 4:08pm UTC](https://forum.bubble.io/t/new-feature-pdf-generation/1850/54 "2018-03-28T16:08:18Z")

</div>

Noted and Thanks @Emmanuel

---

<div class="post-metadata">

**Author:** ![juancosta900](https://avatars.discourse-cdn.com/v4/letter/j/b5e925/32.png) [@juancosta900](https://forum.bubble.io/u/juancosta900)\
**Post date:** [May 7, 2018, 5:40pm UTC](https://forum.bubble.io/t/new-feature-pdf-generation/1850/55 "2018-05-07T17:40:28Z")

</div>

Doubt about using pdf generatir Plugin.  
Is it possible to generate two or more pages in a pdf file, keeping the page layout (headers and footers), since de text is longer than one page?

@emmanuel @bablbooks @vincent56 @NicolasDap

---

<div class="post-metadata">

**Author:** ![DrNinjamonkey](https://avatars.discourse-cdn.com/v4/letter/d/c4cdca/32.png) [@DrNinjamonkey](https://forum.bubble.io/u/DrNinjamonkey)\
**Post date:** [May 8, 2018, 9:09am UTC](https://forum.bubble.io/t/new-feature-pdf-generation/1850/56 "2018-05-08T09:09:36Z")

</div>

Does this plugin always reset all fields to default before generating the pdf or am i doing something wrong?

I have a dropdown and a checkbox and each of them revert back to default states before the PDF is created. I would really appreciate some help 🙂

---

<div class="post-metadata">

**Author:** ![nameispalmer](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/nameispalmer/32/24303_2.png) [@nameispalmer](https://forum.bubble.io/u/nameispalmer)\
**Post date:** [May 24, 2018, 1:33pm UTC](https://forum.bubble.io/t/new-feature-pdf-generation/1850/57 "2018-05-24T13:33:28Z")

</div>

Have no clue why have I missed this, finally, somebody did that thing! I’m working with PDF’s a lot: some business documents, taxes, you name it. So I know a pretty nice feature in order to edit them so far, made for exactly such purposes [https://4000a-125-2-form.pdffiller.com/](https://4000a-125-2-form.pdffiller.com/) But something to convert pages to pdf? Well, Safari has something similar, but it doesn’t read layers so they’re more images than text documents

---

<div class="post-metadata">

**Author:** ![hattford](https://avatars.discourse-cdn.com/v4/letter/h/ad7895/32.png) [@hattford](https://forum.bubble.io/u/hattford)\
**Post date:** [October 24, 2018, 1:31am UTC](https://forum.bubble.io/t/new-feature-pdf-generation/1850/58 "2018-10-24T01:31:49Z")

</div>

Hey Emmanuel, do you have an update on this? Looking to integrate something like this for my project. Thanks!

---

<div class="post-metadata">

**Author:** ![Prashant](https://avatars.discourse-cdn.com/v4/letter/p/51bf81/32.png) [@Prashant](https://forum.bubble.io/u/Prashant)\
**Post date:** [October 25, 2018, 2:31am UTC](https://forum.bubble.io/t/new-feature-pdf-generation/1850/59 "2018-10-25T02:31:38Z")

</div>

Just adding myself to the waiting list here and to express interest in a good PDF generation solution.

We have some success, but being able to convert data from Bubble to a professional PDF with logos is something we really miss. There are many page breaker plugins there, but if you have repeating groups or dynamic data then we find they don’t break correctly or cause blank pages etc.

---

<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:** [June 6, 2019, 6:48am UTC](https://forum.bubble.io/t/new-feature-pdf-generation/1850/61 "2019-06-06T06:48:27Z")

</div>

We’ve been running into weird rendering issues with SelectPDF lately. Some characters are displayed as ‘null’ and some fields/texts are not displayed at all or very randomly.

Turns out Bubble seemingly changed or updated their js library that is not compatible with the current implementation of the SelectPDF plugin. I confirmed this by adding SelectPDF through the API connector and changing the engine used to render the pdf. They use ‘restricted’ where it should be ‘blink’

I sent a msg to bubble support so hopefully the plugin will get updated. If not, you’d have to add the call in the API connector manually and go from there which is easy enough:

```
{
	key: 'YOURKEY',
	url: 'yourpage',
	pdf_name: 'test.pdf',
	engine: 'blink',
	keep_images_together: 'True',
	  page_numbers: 'False',
margin_top: '20',
min_load_time: '3'
		
}

```

@Bubble, can you also maybe explain how ‘Render the page as’ works in combination with privacy rules? It seems an addition to the plugin but I cannot find any documentation about it.

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

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