Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to avoid page Break in PDF

Pratiksha_45
Kilo Sage

Hello Community!

I am Exporting PDF of the UI page and it looks like this.

Pratiksha_45_0-1700568752007.png

The PDF should avoid page breaks.

Using GwtPollDialog method I am exporting PDF.

How can I achieve this?

 

Thanks in advanced!

 

1 REPLY 1

Community Alums
Not applicable

HI @Pratiksha_45 ,

The workaround is to use "Printer friendly version" option, available on any page including forms, that will generate the HTML to PDF export with formatted content.