About I button for Scenario plan Field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-22-2024 10:08 PM
Hi all,
I have a query about the functionality of the "I" button. We have a field called "Scenario Plan," in a Case Table and we need to control the visibility of the "I" button based on users who are part of certain groups and have specific roles. How can we implement this functionality for the "I" button?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-23-2024 12:59 AM - edited ‎08-23-2024 01:04 AM
Hello @jp_rayudu_0909 ,
You can put your conditions in the 'Condition' field in UI action record.
Example - Suppose "I" button should be visible to only members of current assignment group. In that case, you can put below query in condition box (right above script box) -
gs.getUser().isMemberOf(current.assignment_group.toString())
This script will check if current logged-in user is member of assignment group on current record. Similarly, you can define logic for ROLES. Hope it helps.
If my response helps you in any way, kindly mark this as Accepted Solution/Helpful and help in closing this thread.
Regards,
Shubham