how to hide some fields for different Groups and users having different roles
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2016 01:28 AM
i need to hide some fields depending upon the user i.e if the user have ITIL role then he should have 10 fields to visible and if he got HR then 20 fields like ..
step1 : open an incident -- INC0010015 then if you go point your mouse to Caller i (info ) then it is showing less number of fields for the particular user.
step 2 : if you open that Caller i (info ) then i am able to view extra fields .
Querry : how to restrict the particular user to view all these info (have to hide some fields depending on roles) .
but when i open Caller i (info ) the list of form fields getting increased.
can you please help me hide some fields depending ob user role .
~AB

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2016 01:59 AM
Ideal way using ACL.
Other way different views for different type of users.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2016 02:01 AM
Quickest way is to use a Client script to detect the role and hide the fields
You can look at using the business rule called "User view filter" - though it can get a little complex when you go down that route
View Rules do not offer any easy way to use roles - I have an idea or two, but I would need to flesh that out to check to see if it is feasible

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-18-2016 03:57 AM
To configure the "popup" window, modify the sys_popup view for the particular form (e.g. on the user table.) That view applies to all users.
Configuring Forms - ServiceNow Wiki
To grant a different view based on a person's role, consult this page.
Restrict Form Views by Role - ServiceNow Wiki