Make the shown field Visible only for Admins
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2024 02:13 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2024 02:50 AM - edited 05-09-2024 02:51 AM
Hi @Abishek1998 ,
Please try the below article to achieve your requirement
How to hide defined related list using script
Dynamically hide Related Lists
If my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Mark this as Helpful / Accept the Solution if this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2024 03:48 AM
HI,
So what exact sys-id should I use for the below script. I couldn't get the sys-id for the whole user table
g_form.hideRelatedList('REL:sys_id');
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2024 04:08 AM - edited 05-09-2024 04:08 AM
Try this first
g_form.hideRelatedList(<table name of the related list>);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2024 04:36 AM
No sir, not working
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2024 05:01 AM
hi,
On the related list, right click on the header -> Configure -> List Control.
Go to list control and try with this name highlighted below , or the sys id. One of them should work