Generate landscape PDF reports using "PDF Web Service"

A Elbarbary
Giga Guru

Hi Community,

There is a simple OOTB way for generating PDF reports.

According to this URL, We can generate the report simply by adding the parameter 'PDF' to the URL query string, for example:

<SNOW_URL>/sc_req_item_list.do?PDF

The problem is that there are around 20 columns in my custom list view and I can't delete any, is there a way to generate the PDF as landscape instead of portrait so that there is enough width to fit every thing rather than having very narrow columns and wrapped text as per the below image?

gen report.png

1 ACCEPTED SOLUTION

shubh1992
Tera Guru

Hi   Abd El-Rhman El-Barbary



You can generate the PDF For any record by extending the URL with PDF   like <your-instance/incident_list.do?PDF&sys_id but you cannot change the orientation of it.



Regards,


Shubh


View solution in original post

5 REPLIES 5

Jacob S_rensen
Giga Contributor

That is not correct, shubh1992.

 

In the URL write https://<domainURL>.service-now.com/sc_req_item.do?PDF&landscape=true&sys_id=<sysId>&sysparm_query=number=RITM123123