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

Restrict activity related list

Hi All,



I am working on Partner portal. Accounts are visible to all users. I want to show activity history only to account owner. If a partner is not an owner of the account, in this case activity list should be invisible for that user. 


It can be through custom visualforce page as a related List of activity history. Is there any other idea to do it.??

Best Answer chosen by Admin (Salesforce Developers) 



After showing standard related list on a custom visualforce and applying Some logic.