Exporting records without attachment data (not included)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-08-2017 12:18 PM
Hi:
Does anyone ever tried extracting xml data from ServiceNow without attachments? we need to extract large amounts of data from some of the main tables (incident, problem, etc.) on a regular basis, however we do not need attachments to be exported with it. Any good idea will be greatly appreciated.
Carlos
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-09-2017 09:43 AM
See one of my previous replies here:
Exporting XML without attachments?
https://<yourinstance>.service-now.com/incident_list.do?XML&useUnloadFormat=true
This gives you all records from incident table in XML format without the attachments.
See on wiki:
XML Web Service - ServiceNow Wiki
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-14-2017 11:24 AM
Sergiu:
thanks for the suggestion, I tried it and for some reason it is still bringing the attachments. The idea is to download just the incident xml data, no attachment data included.
Thanks, Carlos
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-16-2017 12:58 AM
I've just tried on my own instance and the XML resulted doesn't contain any attachments.
You can easily test this directly in your browser for example for a small subset of data. In my test instance I went to:
https://<myinstance>.service-now.com/change_request_list.do?XML&useUnloadFormat=true
As I have a small number of changes and some have attachments. In the XML returned I can see there are no attachments added.