- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2023 10:16 PM - edited 10-19-2023 10:18 PM
can you help me? how to delete the field in the table?
There is no X symbol in front of this field but Delete in the upper right corner of the dictionary screen
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2023 10:45 PM
Hello @chunn ,
Please open background script and use this -
var gr = new GlideRecord('sys_dictionary');
gr.addQuery('sys_id','726fbfac1b0e3550155a1f0b234bcbb0');
gr.query();
if(gr.next()){
gr.setWorkflow(false);
gr.deleteRecord();
}
Please mark my answer as helpful and solution accepted.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2023 10:50 PM
Things to check
1) are you an admin?
2) are you in correct scope in which field is present?
3) Is this a custom field or an OOB field?
Ankur
✨ Certified Technical Architect || ✨ 9x ServiceNow MVP || ✨ ServiceNow Community Leader