The CreatorCon Call for Content is officially open! Get started here.

Exporting to a PDF in landscape mode.

praveeng
Kilo Explorer

Following the example in the Service Now Wiki I am able to export a PDF report using the following URI.     The issue is that this exports the PDF in portrait mode.     How do I export the PDF in landscape mode?         Any help will be appreciated.

https://my-company.service-now.com/sys_report_template.do?PDF&jvar_report_id=0a8116fcf06ead8093e163b..."

Thanks

PraveenG

3 REPLIES 3

SC10
Kilo Guru

Have you found a solution to this?



Thank you


Nope


jayesh mohan2
Mega Expert

Have you tried passing the parameter indicated below in your URL. If I try to use it in the UI action, it's working:

&landscape=true

//usage in UI action - replace with your table name

window.open('table_name.do?PDF&sys_id=' + g_form.getUniqueValue() + '&sysparm_view=print&landscape=true','new');