Hide widget for a group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2024 09:14 PM
Hi Community,
How to hide a service portal widget for a group.
I need help in the logic.
Thanks,
Poorva Bhawsar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2024 03:26 AM
Hi Poorva,
In the server script you can hide the reopen button by a flag for that particulate user group. For example:
HTML:
<button type="button"
class="btn btn-default"
ng-if="c.data.visibility.showReopen">
${Reopen}
</button>
Server script:
data.visibility.showReopen = true;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2024 09:38 PM
Getting these many errors after adding this code.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-25-2024 10:59 PM
Here is the logic i have added in server script. So, whenever user clicks on this action and if its assigned to xyz group then need to restrict that action and throw and error msg accordingly.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2024 01:39 AM
Hi @Poorva Bhawsar ,
Cany you please share the code for setting the property of "showReopen" to true.
Thanks,
Allu Gopal.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-26-2024 10:51 PM
I dont have any property like that.