How to hide widget based on user role?

Bob33
Kilo Contributor

how can we hide and show an widget based on the role of the user.

1 ACCEPTED SOLUTION

Dipankar Kundu
Giga Expert

Hi bob,

First check weather Service Portal User Criteria Support Plugin is active or not, it not first activate the plugin.

Then open any page and in related list you will see the “Can View”, “Cannot View”.

There you can add any role as well as you can edit and add the role to that page, and to add role to any specific widget open the instance of that widget from any page and in the related list of that widget you will find “Can View” and “Cannot View”.

View solution in original post

6 REPLIES 6

Mike Patel
Tera Sage

On the widget you can select role that are allowed to see the widget.

find_real_file.png

Nitin_NOW
Tera Guru

You can do that by granting the role to it. Please add appropriate role to the field so it gets visible/hidden to users especially who have this role. 

find_real_file.png

 

Please hit correct based on impact of response.

Thanks

pavan9885
Tera Guru

Their is some roles for out of box widgets in service now . you can clone these widgets and edit the roles so user can get access to the widgets .

2. You can define roles in the pages of the widgets.

 

 

 

 

 

Thanks,

Pavan