function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
atharva Vispute 3atharva Vispute 3 

help to solve this querry

can user hide opportunity and contacts in account?? if yes then user is able to see other activiteis like task,events?? or it also not visible??
Sai PraveenSai Praveen (Salesforce Developers) 
Hi Atharva,

If you want to hide totally you can remove that relatedlists form the pagelayouts. But if you want to hide these for some users and visible for some others it may not be possible because Dynamic forms is not supported for indidivual related lists in salesforce.

In stead of using related list in lightning pagelayout use single related list for each object and put visibility if you want to hide only for some profiles.

Please find the below help article (https://www.salesforceben.com/ultimate-guide-to-salesforce-dynamic-related-lists/) for the same
Let me know if you face any issues.

If this solution helps, Please mark it as best answer.

Thanks,
atharva Vispute 3atharva Vispute 3
Hi Praveen
Thank you for your response. I will definitely read this article.