not able to edit templates as an admin also and how to give access writes to itil user?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2022 09:55 AM
Hello Developers,
templates are not editable as a admin also and how to give write access to itil user.
As checked the acl , this is written as below
if(current.global==true && !gs.hasRole('template_editor_global'))
answer=false;
else
answer=true

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-19-2022 10:43 AM
Hi,
Either give role 'template_editor_global' to required set of users or create new ACL's to allow itil users to edit templates.
Make sure you only allow set of peoples to edit, and check documentation to understand why same is restricted for itil users.
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0564004
https://support.servicenow.com/kb?id=kb_article_view&sysparm_article=KB0683947
The Global checkbox on template is an option for allowing any user who can access the templates to view and apply this template. So Allowing itil users to edit Global template is not good option as it may affect many people who are using global template.
Thanks
Anil Lande
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2022 07:56 AM
Hello Anil,
Thanks for your answer. However even as an adminstrator , it is not allowing me to edit the template name and also i gave the role "template_editor_global" to me also (note- i am having admin role) , it is not allowing me to edit the template. Please suggest on this.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-20-2022 10:37 AM
Hi,
Have you checked row level ACL? Above ACL will only give write access to Name column, however if you do not have write access to record then it will not work. Check what all ACL's you have on table with Write Access.
Also make sure there is no Client side script/policy making it read-only (or maybe Data Policy).
Have you tried field Water for this field? also try enabling debugger.
Thanks
Anil Lande
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-26-2022 05:52 AM - edited 10-26-2022 05:53 AM
Hello Anil,
as checked the script , it is written as below
if(current.global==true && !gs.hasRole('template_editor_global'))
answer=false;
else
answer=true;
i tried giving me as admin too "template_editor_global" role too but still the name field is disabled for me. Am i missing something else.
if i deactivate the ACL then it is allowing me to edit so it is confirmed that there is no other rule works.