Script include protection read only

ravi2k
Kilo Contributor

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

1 ACCEPTED SOLUTION

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();  


View solution in original post

14 REPLIES 14

ravi2k
Kilo Contributor

Thank you Julian and Basha for your quick response. Its perfect. 🙂 working....


Does this work in Helsinki?


Just checked on an instance and yes, it works in Helsinki


the script I put up is for cxs_Knowledge


I tried this for a script include in one of our recently upgraded Helsinki instance and it didn't work.