- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-01-2017 06:12 AM
How do you remove the read only from application files?
Solved! Go to Solution.
- Labels:
-
Scripting and Coding

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-01-2017 08:18 AM
Hello April,
Some application code shipped with the ServiceNow system requires special protection. When an application file has a Read-only protection policy, nobody can modify the related record. Only a ServiceNow employee can alter the protection policy and then modify the application file or its related record. A ServiceNow employee cannot make any changes without 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.
Note: Should you revert a customized file to its baseline state, then the record inherits the new protection policy as well. This could result in a record going from a Write protection policy to a Read-only protection policy. |

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-01-2017 06:28 AM
Hi April,
If you're the author of the application, you should be able to edit the protection policy, but if you've installed it you won't be able to to change the policy. The protection policies exist to allow application authors to prevent their code from being changed or even read in some cases.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-10-2025 07:46 AM
In the event when the author of the application changes the protection policy from read-only to none, how does the upgrade of the application look like?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-01-2017 07:05 AM
Hi April,
Please find the write ACL for protection policy.
Admin can update its value for applications whose scope is not global. This means you cannot change it for application files corresponding to Service Now Applications. You can update it for your scoped custom applications but cannot change it for the ones which are installed as mentioned by Brad.
Thanks
Please Hit like, Helpful or Correct depending on the impact of the response

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-01-2017 08:18 AM
Hello April,
Some application code shipped with the ServiceNow system requires special protection. When an application file has a Read-only protection policy, nobody can modify the related record. Only a ServiceNow employee can alter the protection policy and then modify the application file or its related record. A ServiceNow employee cannot make any changes without 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.
Note: Should you revert a customized file to its baseline state, then the record inherits the new protection policy as well. This could result in a record going from a Write protection policy to a Read-only protection policy. |