how to hide some fields for different Groups and users having different roles

kumarajit
Kilo Expert

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) .

find_real_file.png

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

3 REPLIES 3

Mujtaba Amin Bh
Mega Guru

Ideal way using ACL.


Other way different views for different type of users.


poyntzj
Kilo Sage

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


Chuck Tomasi
Tera Patron

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