Button should be visible to current assignment group members

Shubham54
Tera Contributor

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); 

8 REPLIES 8

Community Alums
Not applicable

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

SumanthDosapati
Mega Sage
Mega Sage

Hi Shubham,

Your condition should work as expected.

Can you share your UI Action configuration.

 

Regards,
Sumanth

find_real_file.png

find_real_file.png