I am trying to modify a macro but getting 'This item is read-only based on its protection policy'

jesusemelendezm
Mega Guru

I need make a modification of the jelly code for this sc_order_status_view_intro_text but I am being prompted with msg 'This item is read-only based on its protection policy'

Any hints on how to modify this item?

1 ACCEPTED SOLUTION

Sorry i missed this..i thought i replied to it but when i checked now, it was not there..Please goto sys_properties.list and search for glide.sc.use_cart_layouts property and make it false. This will surely work.



Mark Correct if it solved your issue or hit Like and Helpful if you find my response worthy.



View solution in original post

9 REPLIES 9

I have tried that and still the REQ number is hyperlinked.


Sorry i missed this..i thought i replied to it but when i checked now, it was not there..Please goto sys_properties.list and search for glide.sc.use_cart_layouts property and make it false. This will surely work.



Mark Correct if it solved your issue or hit Like and Helpful if you find my response worthy.



Thank you, I figured that properties on the wiki this morning. I thank you for your help anyways. I will mark as correct your answer!



Enable cart layouts


shanu
ServiceNow Employee
ServiceNow Employee

The response provided on the thread   : glide.sc.use_cart_layouts property and make it false


is for query : configure the "Request number" to be plain text not a hyperlink



Regarding the original query :


I need make a modification of the jelly code for this sc_order_status_view_intro_text but I am being prompted with msg 'This item is read-only based on its protection policy'



The correct response is : You cannot modify this UI macro as this is OOTB and protected.


shanu
ServiceNow Employee
ServiceNow Employee

Application file protection policy



Some application code shipped with the ServiceNow system requires special protection. Only a ServiceNow employee can alter the protection policy and then modify the application file or its related record. A ServiceNow employee cannot edit protected files without first changing the policy designation first.


To prevent customizations from being overwritten by system upgrades, the upgrade process automatically skips changes to customer-updated records. If you modify an application file or related record that is later designated as Read-only in an upgrade, the application file maintains the default protection policy of Write. You keep the existing modifications and can continue modifying the records.