Hide a custom field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2023 02:54 PM
As part of our integration of AD to ServiceNow, I created a custom field on the sys_user table to assist with flagging down inactive users in Active Directory. I keep on getting different solutions on how to hide a custom field. What is the best practice in hiding a custom field from the users?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2023 02:29 PM
This depends on how you want it hidden which probably explains why you have a number of different solutions. It being a custom field should have no bearing on the solution since the handling should be the same as an OOB field.
You could lock this down via a read ACL. This will be a strict can or cannot see across the board. A read ACL resolving to no access means can't be seen in lists or forms. OR, you could lock this down on the form only using a Client Script or UI Policy instead.