My Approval Widget is not displaying to everyone

Sri56
Tera Contributor

Hi All,

Can anyone please help in visibility of "My approval" widget in service portal to everyone.

 

Thanks,

Sri

1 ACCEPTED SOLUTION

pavan9885
Tera Guru

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 

View solution in original post

15 REPLIES 15

Chuck Tomasi
Tera Patron

Have you taken a look at the Roles field on the widgets. Navigate to Service Portal> Widgets open the Approval record and check this field.

find_real_file.png

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

VigneshMC
Mega Sage

Check whether the user has approval_user role, as there is an builtin check for that inside the widget

find_real_file.png

Sri56
Tera Contributor

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