+ Start a Discussion

How can we share the Account hierarchy records to other users using sharing rules

Hello All,

I have a requirement like below....

I would like to share Account hierarchy (Self Realtionship) records to other users which is not possible in sharing settings...Do we hv any alternate methods to achieve the same.

Account Hierarchy ----> Need to share all child records (multi level childs)

AnudeepAnudeep (Salesforce Developers) 
Hi VSK98 

Unsure about the exact code but Apex Sharing appears to be the solution

Use this as reference: https://developer.salesforce.com/forums/?id=906F00000008xXNIAY


If this answer is helpful, please mark this as best so that it can help others in the future

Thank You!