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 Mark,

Thanks for the response, Yes the edit button on sys_user_grmember table only [refer image]

LaraReddy_3-1708608741135.png

 



We are tried your suggestion, but we're getting the below error.

LaraReddy_2-1708608684212.png

 

It could just be 'answer'.


Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark

Hi Mark,
Thanks for the response. Tried your suggestion but still the edit option is not visible to groups manager.

LaraReddy_0-1708613188066.png

 

Hi @Anubhav24 

Hi @Ankur Bawiskar 

Hi @Mark Manders 

Hi @Dr Atul G- LNG 

I have requirement like if group is "PFA", , only user is john is allowed to add members to "PFA" group by using edit button on sys_user_group table under related list , no one is allowed to edit member of that group.I have added screenshot , please refer for more details.

anitha0887_0-1723135658707.png

 

 

Hi @anitha0887 ,

for this you need to write the script to first check if the group is PFA and then in the next if check if the logged in user is = John(use the users sysid here) , then return false else return true. This way only John will be able to see the new button.

You need to write this script in Omit New Button script part , make sure the check box to Omit New button is unchecked , so this script will execute your logic accordingly.

Please mark helpful/correct if my response helped you.