
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2019 07:06 AM
I know I've found this once before, but my search is not giving me the results I found before. If anyone knows how to change the file name generated from the export update set ui action to be the name of the update set + .xml vs the oob sys_update_set_sysid.xml I'd love to try it out.
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-06-2019 06:36 AM
Hi Benson,
When you check UI action of Export Update Set you should find this export_update_set in script section.
there is a processor with this path. when you open that processor you can find this script include ExportWithRelatedLists and these functions addRelatedList() and exportRecords() you need to debug.
There is this function getFileName within which has below code
getFileName: function(){
return (this.parent_table + '_' + this.sys_id + '.xml');
},
just change this to below and check whether the file name comes as my_custom_sysId.xml.
If it is coming then this is the place and you can then modify it as per your convenience.
getFileName: function(){
return ('my_custom' + '_' + this.sys_id + '.xml');
},
Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
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
12-18-2020 08:54 AM
did you achieve this ?
i tried with a name but not helped
any guidance can help me

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-18-2020 07:21 PM
I wrote about how I got it working here: https://jace.pro/post/2019-09-06-rename-update-set-export-file-name/
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2020 02:50 AM
thank you very much.
can i do the same from list view?
select update set and download

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-22-2020 12:09 AM
I'm not sure.