Processing XML Import via Script?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2023 01:18 PM
Is there a way to process an XML import file via script rather than GUI? Instead of going to "Import XML" have a script that pulls the file by location or content and processes it?
5 REPLIES 5
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tuesday
Hi @Gajendra Singh1 ,
Please check this functionality developed and shared on developer site:
In this OOTB function is used to import bulk XMLs from the XML content of the attachments.
var updateManager = new GlideUpdateManager2();
updateManager.loadXML(xmlFromAttachment);
These functions you can use to import XML Strings into your instance via a scripted api.
Thanks!
Vikrant
