Script to export reports to individual XML Files
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-18-2020 02:48 AM
Hi ,
We have a requirement to delete old unused reports (10000+). But Management wants to keep the back up of old reports in the individual XML files, lets say if 100 reports are there , they want to have 100 xml files of each report. Do we have any bulk export mechanism or any scripting to keep take them all individually and save them with their respective names, instead of taking all into XML.?
Regards
Madhu
- Labels:
-
Incident Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-19-2020 09:27 AM
Hope you are doing good.
Let me know if I have answered your question.
If so, please mark appropriate answer as correct & helpful to close the thread.
If not, please let us know if you need some more assistance.
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-20-2020 03:36 AM
Hi Ankur,
Thans. But , it couldnot make me arrive at the solution, the provided script helps opening the XMLs into new window , but the XMLs have to be manually saved . Since target records are around 10000+ it would be difficult to get them saved like this.
Regards
Madhu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-18-2020 02:58 AM
Hi Madhu,
you can either take bulk export of those 100 records via Export XML
For making individual export you can use Export set functionality but that would require MID Server and also file name won't be based on the respective names
Regards
Ankur
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-18-2020 03:27 AM
Hi,
Please refer below link, it might be helpful to you.
Custom XML Export in ServiceNow
Mark it correct and helpful.
Thanks
Bhagyashri Sorte.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-26-2022 06:12 AM
Hi. Opened the link: https://www.servicenow.com/community/contentarchivals/contentarchivedpage/message-uid/2327293
and it said "This Content was Archived"