- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-07-2020 10:51 AM
We have a request to swap out a widget on the Service Portal home page with a specific widget based on group permissions. We have several Record Producers in a category and we created a widget that points directly to the category. The Record Producers have the ACL inlace based on groups and we need to extend that to the home page, removing the first widget and placing the newly created one in it's place for these specific group(s). I have read on on scripting which I believe is the route we need to go but I am a novice at best on scripting nd would appreciate any assistance.
Thank you and stay safe
Jay
Solved! Go to Solution.
- Labels:
-
Service Portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2020 12:20 AM
Hi,
I was able to achieve this on my PDI. Can you try as below-
1. Create user criteria for the group of users who should see the 2nd widget
2. In the instance of the 1st widget, add this user criteria under 'Cannot view'
3. In the instance of the 2nd widget, add this user criteria under 'Can View'
4. In the page, I have place both the widgets below each other
5. When a user from 'Test Group 1' sees the portal-
6. When any other user sees who is not part of the 'Test Group 1' group-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2020 12:38 PM
Thank you shruthiub, I am close to the desired effect. How can I remove the first widget on the place and replace with that one? I have added the new widget to the same box, set the Can View to the group and the other widget Cannot view to the group but still not working.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2020 12:57 PM
You can just remove the old widget from the page through page designer.
Is the new widget visible/hidden as per the new Can View User Criteria? If not, can u post screenshots to understand the issue?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2020 01:10 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2020 12:20 AM
Hi,
I was able to achieve this on my PDI. Can you try as below-
1. Create user criteria for the group of users who should see the 2nd widget
2. In the instance of the 1st widget, add this user criteria under 'Cannot view'
3. In the instance of the 2nd widget, add this user criteria under 'Can View'
4. In the page, I have place both the widgets below each other
5. When a user from 'Test Group 1' sees the portal-
6. When any other user sees who is not part of the 'Test Group 1' group-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2020 03:11 AM
Hello,