How to completely hide a reference field (without using ACLs)?

Mohammed Hamza
Tera Contributor

I have a case where one record is created from another, and I store a reference to the source record just to copy some fields during creation (like region, source, etc.).

 

I don’t want users to see that reference. Even with “Display” unchecked and the field removed from forms, users can still add it in list view or access it via API.

 

What’s the cleanest way to hide a reference field completely (without using ACLs)?

2 REPLIES 2

Ankur Bawiskar
Tera Patron
Tera Patron

@Mohammed Hamza 

simply use field level READ ACL on that table and show that reference field only to users you want

Once you do they won't see the field on form and cannot add on list view as well.

If my response helped please mark it correct and close the thread so that it benefits future readers.

Regards,
Ankur
Certified Technical Architect  ||  9x ServiceNow MVP  ||  ServiceNow Community Leader

Gomathi Kannan
Tera Guru

Hi @Mohammed Hamza ,

 

You can configure the 'add_to_list' ACL to restrict the field in list view and configure the 'read' ACL to restrict the access via API

 

I believe, ACL are the best ways to control the access of records & fields.

 

BR,

Gomathi K