Question
Water NSW
AU
Last activity: 12 Feb 2018 2:09 EST
Dashboard | Widgets | Personalize Widget Display Based on Roles
Hi,
We need to display dashboar widgets based on roles.
If we apply the when conditions to the sections/layouts within the widget section, then it leaves a blank placeholder in the dashboard during runtime if the widget is not displayed. It is causing layout alignment issues.
What is the best way to do this?
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Pegasystems Inc.
IN
Hello ilhamUwais,
Thanks for posting your query in PSC :)
Did you mean you are seeing space like below screenshot? If yes, is the widget meant not to be displayed based on user's role, in the same slot or different?
How about using different page for different users based on role?
Regards,
Rincy
Water NSW
AU
Hi Rincy,
Thank you for your reply!
Yes. That is what I am talking about. The widget should not be displayed in any of the slots.
What do you mean by use a different page? Can you please elaborate?
Regards
Ilham
Pegasystems Inc.
IN
Hello Ilham,
I meant to use different page based on the user role. For example: Display different page for Case Manager and Case workers.
Would using HaveRole function help at your end? Refer post.
Regards,
Rincy
Pegasystems Inc.
IN
Hello Ilham,
Could you use swimlane template for widget and let me know if you see space. If yes, kindly share the screen shot.
Also, is the widget meant not to be displayed based on user's role, configured in the same slot or different slot?
Regards,
Rincy
Water NSW
AU
H Rincy,
I have tried this. This also leaves an empty place holder in place of the hidden widget.
Pegasystems Inc.
IN
Hello Ilham,
Could share the screen shot with swimlane.
Also, is the widget meant not to be displayed based on user's role, configured in the same slot or different slot?
Regards,
Rincy
Pegasystems Inc.
US
Hi,
I believe you can use a visible when the condition of the widget based on the condition(eg: in this case, it will be roles).
Regards,
Rachit
Water NSW
AU
Hi Rachit,
If we apply the when conditions to the sections/layouts within the widget section, then it leaves a blank placeholder in the dashboard during runtime if the widget is not displayed. It is causing layout alignment issues.