On the change template creation form i want to hide/restrict all fields that do not currently exist on the Change form

Rajesh PanneerS
Tera Contributor

Users are able to see all the fields in the change request template creation form. In the below screenshot, Activity due field is not available in the change form but it is visible here. So my requirement is to show only the fields visible on the change form. Is it possible to hide or make these fields read only

find_real_file.png

Chuck Tomasi
Tera Patron

Hi Rajesh,



You can restrict read access on those fields using ACLs so users cannot see the fields and they will not be available to pick them.



This does require you to manually set ACLs to sync with the fields on your form and keep them updated as new fields are added/removed from your form view(s) which can be tedious and possibly prone to conflict.



Reference:


Using Access Control Rules - ServiceNow Wiki


Security Best Practices - ServiceNow Wiki


Contextual Security - ServiceNow Wiki


Hi Chuck,



So the ACL should be on the sys_template table and then i should create one for each read only field. Can you please provide an example ?


The ACL should be on the table your template points to (e.g. change_request.)


Hi Chuck,



But creating an ACL will hide the fields not only on the Change request template creation form right?