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
srinu jsrinu j 

I have a senario related to OWD.

I have two roles there Manager and Salesrep. In role Hirarchy Manage is above in salesrep. Both are belongs to same profile. But I created a record to Book Object in Salesrep. This record is not shown in Manager. What do I have to do to show the record in Manager? Please help me?
Akhil AnilAkhil Anil
Hi Srinu,

In your OWD for the custom object, set the access level to "Private" and also check the "Grant access using role hierarchies" checkbox. That should allow the managers to see the records accessible to the sub-ordinates.
srinu jsrinu j
Hi akhil, I have tried using clue which you have given to me. but records are not shown. Whats wrong with my owd settings?
Amit Chaudhary 8Amit Chaudhary 8
We can give three types of access in OWD:
1) Private – The role hierarchy is observed and people cannot view their peer records(same level or upper level heirarchy).
2) Public Read Only – Everyone in the organisation can view each others data irrespective of role hierarchy.
3) Public Read/ Write – Everyone in the organisation can view/edit each others data irrespective of role hierarchy.


NOTE:- If you will set OWD as private the only owner can see record.