omit edit button on group table level
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2024 04:59 AM
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.
Advance thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2024 05:32 AM
Hi Mark,
Thanks for the response, Yes the edit button on sys_user_grmember table only [refer image]
We are tried your suggestion, but we're getting the below error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2024 06:03 AM
It could just be 'answer'.
Please mark any helpful or correct solutions as such. That helps others find their solutions.
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-22-2024 06:47 AM
Hi Mark,
Thanks for the response. Tried your suggestion but still the edit option is not visible to groups manager.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2024 09:48 AM
Hi @Anubhav24
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2024 12:12 AM
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.