45
Views
4
Comments
[Ultimate PDF] Automatically Add Page in PDF generation
ultimate-pdf
Reactive icon
Forge asset by Leonardo Fernandes
Application Type
Reactive
Service Studio Version
11.54.39 (Build 63034)
Platform Version
11.25.0 (Build 41743)

Happy New Year to All!


I just have a question how to automatically add a page upon generation of a pdf file? I can generate a PDF file but the problem is when my record/row is more than one I can't include some of the components of the PDF file. I attached some screenshots for some references. Thanks in advance!


Format on Service Studio:

Generating with only one record/row (Fine):


Generating with more than one record/row (Here's the problem occur):


2021-10-17 12-36-16
Amreen Shaikh

Hi CoffeeCode,

Are you not creating the pdf page screen which is going to download at the end?


2023-07-13 03-30-10
Ronaldd

I'm creating it that's the 1st pic @Amreen Shaikh. The problem is whenever the list has more than one record the page is being cut and the generation can't include some of the details.

2021-10-17 12-36-16
Amreen Shaikh

Please refer the below link to get it:

https://www.outsystems.com/forums/discussion/65541/ultimate-pdf-ultimatepdf-with-reactive-web-only-getting-the-first-page-of-cont/

2021-10-17 12-36-16
Amreen Shaikh

Please add the Css:

/* CSS for Reactive Printing */

@media all {  .page-break {    display: none;  }} 

@media print {  html, body {    height: initial !important;    overflow: initial !important;    -webkit-print-color-adjust: exact;  }} 

@media print {  .page-break {    margin-top: 1rem;    display: block;    page-break-before: auto;  }} 

@page {  size: auto;  margin: 20mm;}

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