Button should be visible to current assignment group members
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2022 06:25 AM
On form i have one button and that button should be visible to only current assignment group members i used following condition but it's not working.
gs.getUser().isMemberOf(current.assignment_group);

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2022 06:31 AM
Hi Shubham,
This method is absolutely works like a charm gs.getUser().isMemeberOf(current.assignment_group) - in your UI action condition.
If you want to use or make some changes in the client side then check the "client"(Client checkbox helps to do some client side changes based on clicking of UI action. It does not affect of the visibility of UI action) else not required.
Mark my answer correct & Helpful, if Applicable.
Thanks,
Sandeep

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2022 06:37 AM
Hi Shubham,
Your condition should work as expected.
Can you share your UI Action configuration.
Regards,
Sumanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2022 07:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2022 07:01 AM