omit edit button on group table level

LaraReddy
Tera Guru

Hi All,

we want that only the Group owner can see and use the "edit" button on the related list "Group Members". Therefore we edited the List control and added following omit edit button script.

But some reasons it's not working, can anyone please help us here.

LaraReddy_0-1708606725158.png

 

Advance thanks.



30 REPLIES 30

Hi @LaraReddy ,

So one point cleared with simply admin role condition Edit button is working fine.

Now coming to the script ,gs.log('manager: ' + groupManager + 'currentUser: ' + currentUser); is this log printing right values also try to put a log before both answer variable value assignment to see where the control is going.

 

Please mark helpful/correct if my response helped you.