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
Jay LiladharJay Liladhar 

account owner to be able to view record from a related list


I have a custom object linked to accounts, the data held in the custom object (child object to accounts) is fed in via an integration from another system which is set up as an admin profile in salesforce. I would like to limit access to this record by only allowing the account owner to view the records in the child object. Other than adding account owner id to the external system, does anyone have any idea on how this can be provisioned in SF
Rohit Sharma 66Rohit Sharma 66
First create a OWD for the custom object to private. This will only allow the record owners to see the records.
Second, create the Sharing rule, where u can add the cirteria to share the reocud with the Account owner related to that custom object record.
Let me know if it helps.