hide section in workspace view

pawank2
Tera Expert

pawank2_0-1732105499935.png

need help to hide the related record section based upon groups.

Anyone can have idea and suggest us.

2 REPLIES 2

Najmuddin Mohd
Mega Sage

Hi @pawank2 ,

There is an OOB client side function, to hide the related list.

hideRelatedList(String listTableName)


If you want to hide from the particular group personas, then you need to invoke GlideAjax use 

isMemberOf(String group)

 function. 


If it returns true, then inside IF block add the hideRelatedList().


If the above information helps you, Kindly mark it as Helpful and Accept the solution.
Regards,
Najmuddin.

No, this is not helpful to hide the related record.