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
sp08830sp08830 

restrict activity related list

We wanted to restict activity related list on a custom object to certain profiles. One way to do this is by page layout assignment. Just wondering what are the other ways. Tried permission sets but looks like related lists cannot be added to  permission set definition. What are other ways. Can some one throw some light on best practices. Thanks. 

Madhan Raja MMadhan Raja M

Activities cannot be controlled by Profiles. As you mentioned, the best way is through Page-layout assignment.

 

Madhan Raja M

sp08830sp08830

Is it possible to dynamically hide/show activities related list based on some attribute on parent object?

yespeeyespee

should be possible on a visual force page, not sure if you can do this declarative.