How to hide widgets if users does not have access to it in Service Portal

Priya151
Kilo Contributor

Hi Team,

I have a requirement to hide the widgets if logged in user does not have access to that widgets . Can anyone help me how to achieve this?

Regards,

Priya

2 REPLIES 2

Santosh_Ksagar
Mega Sage
Mega Sage

Hi Priya,

There are two ways you can limit access to a widget. 

1) Provide roles to access the widget

find_real_file.png

2) Apply user criteria

https://docs.servicenow.com/bundle/orlando-servicenow-platform/page/build/service-portal/task/widget...

Please mark answer correct and helpful if it helps you.

Thanks
Santosh
https://dxsherpa.com

find_real_file.png

Gaurav Shirsat
Mega Sage

Hi Priya

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

https://community.servicenow.com/community?id=community_question&sys_id=75731d1adbfe638011762183ca96...

 Refer This Video:-