Hi, Can i create an xml for the records found in gliderecord ? And can i create table to store xml files? OR can i export all records via xml to other SNOW intance. Thanks in Advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-17-2016 11:22 AM
Hi, Can i create an xml for the records found in gliderecord ? And can i create table to store xml files? OR can i export all records via xml to other SNOW intance. Thanks in Advance
- Labels:
-
Integrations
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-17-2016 02:02 PM
Sorry Abhay. Please reach out to PS team
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-10-2020 02:16 PM
So far it doesn't look like this question has been answered. Is there an API call were it will take the entire contents of a record and create an xml string from it.
For example
var x = GlideRecord (cmdb_ci);
x.get(somesysid);
var xmlString = someXMLAPI (x);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-10-2020 02:34 PM
Seek and you shall find, and I did.
here is an example:
var x = GlideRecord('cmdb_ci_computer');
x.query();
x.next();
var s = gs.unloadRecordToXML(x, true);
gs.print (s);