I have created a customer community and granted sharing rules to the customer user but he cant seem to access the contact entity no matter what. If i change the wide organisation set to public he can see it, but the sharing rules don't seem to be enough, anyone knows why.

So the question is: why am i getting Insufficient Privileges on contacts from my customer community user?

  • Which profile are these on - customer community or customer community plus? – Dave Humm Jan 11 '17 at 12:45
  • @DaveHumm - customer community – Eli Jan 11 '17 at 13:26
  • 1
    In that case sharing rules do not work for them. It is sharing sets. – Dave Humm Jan 11 '17 at 14:51

For Customer Community users it is not possible to use Sharing Rules, these are only available to users with a Customer Community Plus licence type.

Instead you need to create Sharing Sets - these are setup as follows:

Setup->Build>Customise>Commmunities>Community Settings - then select Sharing sets and create a sharing set based on sharing a Contact to a community user, e.g. if the user should see the other contacts for that account then use

User:Contact.Account = Account:Id

And set to Read only or Read/Write as appropriate. This will require the OWD to be setup with Contact as Private for external users.

Example pic for a custom object where I needed to use Case as the junction.

enter image description here

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.