[SalesForce] Setting View All Access for Customer Community Plus User

My org has External Sharing Model enabled. It has Custom object with Default External Access set to Private.

enter image description here

Now I need that custom object to be shared with (read access) all users in specific profile.

Since the user is Customer Community Plus, I'm unable to set View All permission on object level. Sharing rule can't be use with a profile.

missing view all permission

How do i achive this requirement ?

Best Answer

I could able to solve this by adding users into separate public group and share records using sharing rule.

Sample code for adding users dynamically to a public group can be found in here - Trigger to add active user with standard profile to public group