576
Views
11
Comments
Solved
[Ultimate PDF] Need to add page number and total  pages in the pdf created by ultimate pdf reactive
ultimate-pdf
Reactive icon
Forge asset by Leonardo Fernandes
Application Type
Reactive

i created a multipage pdf using ultimate pdf but not able to add page number and total number of pages at the footer part 

UserImage.jpg
Ellakkiya
Solution

Hello Shipra,

You can use the Simple Reports Reactive Plugin. To view the pagenumber in pdf, use the pagenumber block. 

Hope this helps!

Regards,

Ellakkiya.S

2021-06-22 14-09-53
Aldrin Orpilla

Just drag the block of PageCount and PageNumber in the footer placeholder of Ultimate PDF templates. Please see attached image for your reference.

UltimatePDFPageCountPageNumber.png
UserImage.jpg
shipra joshi

but I am creating a reactive app and these ui are available in traditional app only.

so not able to drag them

2021-06-22 14-09-53
Aldrin Orpilla

I am using reactive app also. Just create another module for the template then pass all the parameters you need in that module then the UltimatePDF will render and create that PDF. Please see images below.

Module: 



Parameters Assign:


UserImage.jpg
shipra joshi

how did you create a preparation in reactive app

2021-06-22 14-09-53
Aldrin Orpilla

Sorry that is Traditional Web separate module I am mentioning. Sorry for the confusion. I created a simple flow in Paint. Please see image below.

UserImage.jpg
shipra joshi

thanks a lot .

but is there any way without recreating the complete screen in traditional app

2021-06-22 14-09-53
Aldrin Orpilla

Never tried but since you are creating a template screen you need to create the complete screen in traditional.

2020-09-15 13-07-23
Kilian Hekhuis
 
MVP

Hi Shipra,

Reactive web apps are running mostly client-side, so you cannot use a server-side component like UltimatePDF to render a Reactive Screen. There are some client-side PDF rendering Forge Components, but they are relatively simple and probably not what you need.

2019-04-17 20-48-45
Rafael Fantato
 
MVP

Hi Shipra,

The latest version has now a new input parameter that could help you to control when the PDF should start to be created. You will need to add some specific class to a container to tell the UltimatePDF that the screen is ready.

This is working with a reactive print layout (e.g.: Simple Reports Reactive with class "body.done") but it should work with any reactive screen now. My advice is to use just one GetData to that screen (easy to control when all data is fetched) and use your isDataFetched boolean to print a container or class to content and use that class as input parameter WaitForSelector.



UserImage.jpg
Ellakkiya
Solution

Hello Shipra,

You can use the Simple Reports Reactive Plugin. To view the pagenumber in pdf, use the pagenumber block. 

Hope this helps!

Regards,

Ellakkiya.S

2025-09-09 09-52-32
Bala Subramanian

Hi,

The page break component of the UltimatePDF component was not working. So, I used a normal expression element at the end of each container before the PageBreak. It works for my requirement. 

Reference URL: https://personal-8zue2dyt.outsystemscloud.com/ShowPDF/PreviewPDF


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.