- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2019 09:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2019 06:40 AM
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”.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2019 01:59 AM
Hi,
Is there another way to hide a particular widget based on the role.
HTML:-
<div class="panel panel-default" ng-if = "c.data.isAdmin == 'true'">
<div class="panel-body">
<button type="button" class="btn btn-primary btn-block" ng-click="function()">Button</button>
</div>
</div>
Server Script:-
data.isAdmin = gs.getUser().hasRole('admin');
Please mark it as helpful or correct.!!
Thanks
PKG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-13-2019 06:40 AM
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”.