The Now Platform® Washington DC release is live. Watch now!
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.
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
03-01-2019 07:26 AM
Hi,
Any specific reason why you want this requirement?
It's just a file name
Mark Correct if this solves your issue and also mark Helpful if you find my response worthy based on the impact.
Thanks
Ankur
03-01-2019 07:28 AM
When exporting update sets before a clone its nice to know what update set is what without having to inspect every file.
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
03-06-2019 07:42 AM
Thank you thank you!