Add dynamic images to PDF header / footer (beta feature) - February-25 update
Just released version 2.1.4 of PDF Creator! You can now reference dynamic images in the header / footer content fields:
Hi! great plugin thank you! i am trying to download a simple group, everything is working but the image is not visable on the PDF, it is visable on page load without any issue. What can be the issues? Thank you! @alexcooney5
Itâs a png but i just noticed that if i am entering this URL of the image, then there is an automatic download of the image (and you canât see it in the url of the browser)
I have two more images (that if you go to the URL you can see them) that working without any issue,
Do you know maybe how can i fix it?
THANKS!
@alexcooney5 Great plugin. Quick question on multiple pages.
I setup the following in a popup. Title Group and Repeating Group. Each group has the element id and thatâs working, but they are both wanting to stack to the top of the page. This only happens when the Repeating group doesnât page break itself when itâs greater than 20 rows or so. Have you ever seen this behavior?
Natural Page break when RG runs off page (My desired output when there are only a few rows in the RG) I want the page break to happen no matter the number of rows in the RG:
That didnât make a difference, but I was able to get it to work with a different approach!
I used element ID [RG] in brackets and for the first row (index 1) I added a group that contained the header data I wanted and only visible when index = 1, collapse height when hidden.
So instead of having two element Idâs split by comma, I put everything I needed in the RG and did brackets for the array of individual elements in the RG. This plugin rocks
Great plugin, looks awesome and going to save a lot of time.
Question - when creating the group to pdf do you have to set it to a page size to get it to fit the page? Can you do a hidden group so the user doesnât see the group first thatâs getting printed?
No, you donât have to set a group to a page size to get into fit the page. If you leave the max width of the group as âinfâ, PDF Creator will automatically fit that group to the width of the page.
This doc describes how PDF Creator scales elements to the PDF page - might be useful.
The group has to be visible on the page (or more precisely, visible in the DOM) for PDF Creator to create a PDF of it. I have seen some users do the following:
Hide the group by default
Add a âyes/noâ custom state called âpdfGeneratingâ and set the default to ânoâ
Put a condition on the group so that itâs visible when the custom state is âyesâ
When the user triggers the PDF generation workflow, change the custom state to âyesâ
This shows the group and allows PDF Creator to create a PDF of it
When the PDF generation is completed, change the custom state to ânoâ; this will hide the group again
You could also add a loading screen (via a floating group) so that the user doesnât see this showing/hiding happening.
Finally, if you want to create a PDF of a hidden group that is more complex, it may be worth considering our other Bubble PDF solution DocuPotion. It allows you to Create PDFs of separate pages in your app.
Hope that helps and let me know if you have any other questions.
I have a group that is not visible on page load, but is visible when the PDF Creator is triggered. Yet, I still get the following error: TypeError: Cannot read properties of null (reading âstyleâ)
It appears that PDF Creator will not work with any group that is not âvisibile on page loadâ even when visible at time of PDF workflow.