Skip to main content
Cal SFDC asked in #Apex
My Opportunities have related contacts via lookup. The opp is owned by neither of them or could be owned by one of them. I want to be able to share the records with both contacts as users  in partner community. I found https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_bulk_sharing_creating_with_apex.htm for Creating User Managed Sharing Using Apex. I tried to use it however not being conversant with apex programming I am not able to resolve the test fail. I am wondering how to share the records using apex or otherwise. Please advice
2 answers
0/9000