I have a requirement to share a custom object records to customer community users. The opportunity object has Event Booking and contact roles as related list.
Eg: There is an opportunity called Test opp
and it has 3 contact roles such as: Role1
, Role2
and Role3
. Out of this 3 contact roles, a particular contact is customer community enabled user. So when I insert a event booking record, this record should be shared to that contact role.
Only the event booking record related to that opportunity only need to be shared to the contact role when logged in as customer community user. I searched for this in google and found that apex sharing rule is not available for customer community user.
Is there any alternative solution? What can be the workaround for this?