- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2024 01:31 AM
Hi Everyone
I'm trying to export list of records in XML, it is not working, showing the XML text in new tab.
However when I export in CSV, its working perfectly fine.
var url = 'sys_ui_bookmark_list.do?XML&sysparm_query=user=' + current.sys_id;
action.setRedirectURL(url);
Any Suggestions/comments?
Thanks in Advance
-Abdul Musavvir
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2024 01:40 AM
which URL does it open?
ideally it should work fine.
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2024 01:54 AM
For XML it is showing like this instead of downloading the XML file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2024 02:05 AM
why not export from the list header Right click -> Export XML
You already have the records with your filter applied
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-23-2024 02:14 AM
It didn't work for me as well for incident table. it opens up the URL, seems we need to right click and then save and it won't auto download XML
Seems platform issue or limitation when compared to other formats such as csv
If my response helped please mark it correct and close the thread so that it benefits future readers.
Ankur
✨ Certified Technical Architect || ✨ 10x ServiceNow MVP || ✨ ServiceNow Community Leader