UI Action visible only when the logged in user is an admin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-13-2024 02:16 AM
Make an UI Action visible only when the
logged in user is an admin, and has more
than 5 records where he/she is a caller.
UI Action- GlideRecord - Script Include
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-13-2024 10:44 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-13-2024 11:30 PM
Hi @marrikruthi ,
Use below code and implement - Its working!!!. Please mark this as helpful if below code solves your requirement
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-13-2024 11:40 PM
Change later condition to: new UIactionvisible().CallerInFive(gs.getUserId())
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-13-2024 11:55 PM
Hi @marrikruthi
Name of your script include should be same as the name of function inside the script include. i.e.. CallerInFive