How do I set view permissions to dashboard widget based on user?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-11-2017 09:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-12-2017 09:23 PM
Separate dashboards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-13-2017 06:27 AM
Robert,
Frist, thanks for the reply. Are you saying it isn't possible to has two different Widgets on our GRC Dashboard one the shoes the logged in user the controls for which they are a Tester and named "My Tests" and another which shows the controls for which they are the Reviewer called "My Reviews" with each Widget showing only the controls for that user? That is our current setup and the "My Reviews" widget does only display the active controls that the logged in user is assigned as the Reviewer but the "My Tests" widget is showing all the active controls regardless of the assigned tester. I need to get it to show only the logged in users controls for which they are the assigned tester. Very new to ServiceNow but I suspect that if I could see how the "My Reviews" widget does this I could find why the "My Tests" widget doesn't but I don't know how to determine which script, as I assume it is controlled by a script, handles this functionality.
David Walterhouse
Asbury IT Support
Ph 770-418-8328
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-13-2017 06:38 AM
I'm not saying it isn't possible. However, whatever method you pick to hide a widget from one group and expose to another is going to be on the hackish side of uncommon. What you're describing is essentially two different roles and user experiences - which to me would best be served by two different Dashboards, even if they're very similar at the moment.
Either that or you can just have two single count widgets: one for my tests, one for my reviews. One will always be zero for any given user.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-13-2017 06:58 AM
Robert,
Not trying to hide the widget itself, just filter the content it can display to the logged in user. This was setup for us by a third party which I no longer have access to but as far as I can tell both widgets are identical in what they display which is a table showing all our active controls. The only differences between the two widgets on the Dashboard is the Title, "My Tests" and "My Reviews" and that the "My Tests" widgets filters all the active controls to display only those that the logged in user is assigned as the tester on the control and the "My Reviews" filters the active controls to display only the controls the logged in user is assigned as the reviewer. The "My Reviews" widget filters the active controls correctly displaying only the controls where the logged in user is assigned as the Reviewer. The "My Tests" widget however displays all active controls for all assigned testers and I need to filter what it displays to be just those active controls that the logged in user is assigned the tester.
All that being said, would you still say the proper course would be separate Dashboards?
Thanks,
David Walterhouse
Asbury IT Support
Ph 770-418-8328