Issue Printing from Service Portal

jimnicholson
Giga Guru

Hi All,

This is going to be a bit difficult to ask since I am very limited in what I can share as far as code or screen shots given the information I am dealing with, but I'll do my best and have dummied up some data to show the behavior at least.   I have created a widget to generate a document at the end of a project and when I click the "Print Document" button in my preview of the widget (while still viewing the code) the preview looks great, sending it to either a printer or pdf works great.   When I look at this same widget on the portal, it only attempts to print the first page and there is a scroll bar on the first page like somewhere it's telling it if there is overflow from more than one page, allow scrolling.   This is very odd that it works perfectly in one area and not in another.   See some examples below....

Could there possibly be css somewhere on the portal impacting this?

Preview in widget editor:

Multiple pages, breaks perfectly, etc....

find_real_file.png

Click the same "print document" button on the portal:

One page with scroll bar, and prints one page with the scroll bar.  

find_real_file.png

This is very odd, any ideas?

Thanks,

Jim

1 ACCEPTED SOLUTION

corina
ServiceNow Employee
ServiceNow Employee
2 REPLIES 2

corina
ServiceNow Employee
ServiceNow Employee

Nailed it, thank you SO MUCH!   I was losing my mind.   Adding the page specific css in the submitter's example handled it perfectly.