How to capture the changes done in sys_ui_list_element in update set?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2022 11:07 PM
The changes done in sys_ui_list_element are not capturing in update set. How to capture it in update set?
Thanks in advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2022 11:17 PM
You can move through xml.
Thanks and Regards,
Saurabh Gupta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2022 01:07 AM
Is there any way to capture in update set
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2022 01:15 AM - edited 11-20-2022 01:18 AM
Hi, you can use the below utility for that.
var tableRec=new GlideRecord('sys_ui_list_element');
tableRec.get('661b34c8dba1030048a6e1aa4b96192a');//relpace with your record sys_id
var updateManager = new GlideUpdateManager2();
updateManager.saveRecord(tableRec);
Please mark the answer as correct, If I answered your query. It will be helpful for others who are looking for similar questions.
Regards
Saurabh
Thanks and Regards,
Saurabh Gupta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2022 01:21 AM
Here are some ways to do that :
https://servicenowguru.com/system-definition/manual-update-set-inclusion/