- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2016 12:21 AM
Hi Frds,
I`m facing a issue in script include, created script inculde and set protection policy as read only on Fuji version. I have admin rights but not able to edit this? I want to edit or delete this script include. Pls help.
Thanks,
Ravish
Solved! Go to Solution.
- Labels:
-
Scripting and Coding
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2016 01:13 AM
var gr = new GlideRecord("sys_metadata");
gr.get("42ec6aa0ef62210066fc36caa5c0fbce"); // sys_id of record
gs.print(gr.sys_policy);
gr.sys_policy="";
gs.print(gr.sys_policy);
gr.update();
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
5 hours ago - last edited 5 hours ago
var gr = new GlideRecord('sys_script_include'); // Change table if it's a different file type