Templates Plugins Courses

Breaking Pages with PDF Converter

Hi
I used to break pages using the Pagesbreaker element ID the plugins since 2 ou 3 days when add any element the process of creating the pdf doesn’t occur.
Can someone share me a link ou explain me how to use this features because in my opinion the documention is quite short and doesnt give the details sometimes that are really needed.
This urgent. I have a project and a deadline.
Please

Hello, @chimeresompare. Thanks for reaching out.

Our team is working on the issue, caused by the Pagebreaker element. I will let you know when there be any update.

Thank you for patience :pray:
Regards,

Thanks
Hope you will find it quick

1 Like

Hello, @chimeresompare.
Thank you for your patience :pray:

Our dev team has made an update, that fixed your issue. Can you please check and confirm? You need to update your Page to PDF plugin to the latest version.

Note: you can use as a Pagebreaker any element, just assign the ID to it and add this ID to the “Convert to PDF Convert page” action. If you assign the ID to your Pagebreaker element and indicate it within the “Convert to PDF Convert page” action - you will have a doubled action and one completely blank page.

Please check and confirm that the issue is resolved :slightly_smiling_face:
Regards,

1 Like

I had checked and it was actually ok until I try to use for real. I have the same behaviour.
The second is not converted, I only have one page

Hello, @chimeresompare.

Can you please give an example of what visual errors you are receiving? Share the plugin workflow, the details on the element you want to convert, and the result in PDF file? I’d like to recommend to use Loom.

Thank you.
Regards,

Hello, @kate.

I am having trouble using pagebreaks within repeating groups.
On my application, I need a pagebreak for each item of the repeating group.
When I use the repeating group groups ID as pagebreak ID, only the first item of the repeating group gets breaked.
What am I missing here?

Hello, @wesley.catao. Thanks for reaching out.

Can you please add more details on this point? Please provide some examples or screenshots to let me figure out the best suggestion for your particular case.

Here is one example of how you can use the plugin for converting a repeating group as a list of separate pages:

Thanks!

@kate, this is exactly what I need, one page per group of a repeating group.

But I still didn´t catch how the pagebreak is defined. At the workflow action, there isn´t any pagebreak ID.

It seams that in this case, the main group is exactly the size of an A4 format paper, and that is why it breaks the page at the right spot.

In my application, I have a series of exams, each one on a group inside a repeating group (all exams).

Each exam can take more than one page, depending on how many questions it haves.

So I need to place a pagebreak before each exam´s header, so that each student receives a different exam.

Here is how it might look like:

Repeating Group (All exams)
Group (Exam1)
Pagebreak
Header of this exam
Questions
Footer of this exam

       Group (Exam2)
                 Pagebreak
                 Header of this exam
                 Questions
                 Footer of this exam

End of Repeating Group

This repeating group can hold up to 100 exams. And Each test can hold up to 60 questions, so this pdf can get quite large.

The problem is that when I place this pagebreak at the begining of the exam group, It only break´s the page once, it doesn´t break page for each exam, just for the first one.

How could I solve this problem whith this plugin?

@wesley.catao, forgive me for my late reply. :pray:

In the example I’ve shown you, indeed, the page size is a4 exactly. So there is no need to indicate the page breaker IDs because the plugin understands that it should cut the page (the repeating group) on equal a4 pieces.


In this case, I should recommend you to place your original page content inside groups with the equal size (w/h). In this case, you can choose the “Single element” + “Custom format” + “Pagebreaker IDs” and indicate your custom page format (w/h).

Please see my test page. I suppose it is a good example:

It has 2 groups - Page 1 (ID = page_1) and Page RG (page_rg).

Page 1 - contains static elements. Page RG - contains a repeating group with dynamic elements. Each these 2 groups have the same w/h parameters - 880x1060 px. Also, they are placed into one group called Page (ID = page).

The ConverttoPDF action has the following setup:


I suppose you got wrong with how to use the Pagebreak IDs field. In this field, you should indicate the group, where your PDF file should be separated to another page. It works differently as the Pagebreaker element, which was used in the old plugin versions.

So it’s better to check the test page I’ve created for you to see the correct exemplary setup, in case if you want to break your RG into equal pages after the conversion.

I hope it helps. :slightly_smiling_face: