- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2019 06:14 AM
Hi All,
Can anyone please help in visibility of "My approval" widget in service portal to everyone.
Thanks,
Sri
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2019 06:28 AM
Hi Sri,
if you want to show the my approval widget to every user in service portal there is role is defined in line 128 in your widget server script you can comment the role so all users can see the my approval widget.
2. As chuck replied you can check the roles and you can r emove the roles from their
data.ids = ids;
data.approvals = approvals;
data.showApprovals = true;//gs.getUser().hasRole('approver_user');
// for pagination
Note: please mark my answer helpful or correct so it would not wipped out from the community

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2019 06:17 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2019 06:26 AM
Hi Chuck,
I have not given any role for this widget, However i am using OOB widget, where i have checked public option.
Though it seems like not working!!
Thanks,
Sri

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2019 06:26 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-29-2019 06:29 AM
Hi Vignesh,
The user with approver_user can see this widget,But how to enable same for all?
Is this a best practice?
Thanks,
Sri