Parameter for detailed landscape PDF export in URL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-25-2022 06:05 AM
I am trying to generate my own PDF Export URL. The URL should trigger an export for a table list with Detailed Landscape enabled. I know that the parameter for landscape is "?PDF&landscape=true&", but I need to know what the detailed key is. Anyone who can assist me on this?
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2022 09:35 AM
Hey Jacob,
I did not find any parameter for URL, however if you are using UI action, below code can help you:
Pass the table name, query parameter, number of rows (required if number of rows are more then the system limit to schedule the report generation), View.
It will just work like Context Menu > Export > PDF > Detailed Landscape
var dialog = new GwtPollDialog(tableName, sysparm_query, sysparm_rows , sysparm_view, 'unload_pdf+landscape');
dialog.execute();
Please refer 'Detailed Landscape' Context Menu for more information.
https://<your-instance>/sys_ui_context_menu.do?sys_id=d1e93cc80a0a0b3e007e913c2485c9e1&sysparm_record_target=sys_metadata&sysparm_record_row=2&sysparm_record_rows=5&sysparm_record_list=123TEXTQUERY321%3Ddetailed+landscape%5EORDERBYzztextsearchyy
Thanks
Nootan