Export report to CSV in URL
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-21-2015 06:51 PM
I was able to create a custom report and I can browse to it directly in the URL by entering
https://slu.service-now.com/sys_report_template.do?jvar_report_id=myreallylongreportid
is there a way I can add a switch or value to the URL to automatically launch the export to CSV option?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-21-2015 11:22 PM
Hi Tim,
I believe the following could be helpful: http://wiki.servicenow.com/index.php?title=Exporting_Data#Exporting_Directly_from_the_URL&gsc.tab=0
Thanks,
Berny
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-21-2015 11:42 PM
Please try this.
URL | Description |
---|---|
https://<instance name>.service-now.com/incident_list.do?CSV | Export all incidents to a comma-separated value text file. |
https://<instance name>.service-now.com/incident_list.do?CSV&sysparm_query=sys_id%3E%3Db4aedb520a0a0b1001af10e278657d27 | Export a particular incident to a comma-separated value text file. |
https://<instance name>.service-now.com/incident_list.do?CSV&sysparm_order_by=sys_id | Export all incidents to a comma-separated value text file and sort the list by sys_id. |
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎12-22-2015 07:08 AM
Thank you Sokha. I was able to export the CSV from the URL with this string:
https://slu.service-now.com/sys_report_template.do?CSV&jvar_report_id=myreallylongreportid