- 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:39 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2023 10:41 PM
Hello @chunn
Click on the copy sys_id and provide me that sys_id and I will provide you code to delete this using background script.
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:43 PM
726fbfac1b0e3550155a1f0b234bcbb0
thank you
- 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:46 PM
Is this an oob field?