0

I created a Community (Napili Template) whose users are the same as the contacts of my accounts on Salesforce: they are (paying) members of my organization. I would like to enable them to get access and update (some of the) fields of their account (account object of Salesforce). Any idea of how I could implement that?

0

Have you tried to expose the Account object to them yet? You can open that Object to them and give them the correct Field Level Security so they only have access to what you want them to edit/see

  • Thanks David. Yes, I did that: I'm able to put some fields in "read" or "modify" mode in the account object. But I want to introduce a difference between the accounts: enable the Community user to update his account, and only his account. I've no idea of how to do it. – Gabrielle BC Mar 4 '16 at 12:40
  • What about sharing rules? Give everyone just Read Only except for their Account? – David Litton Mar 4 '16 at 14:20
  • What about a validation rule that doesn't allow edits unless its your account (if you're a community user) – David Litton Mar 4 '16 at 14:22
0

You can use sharing sets to control access to their account specifically.

If you go to Setup - Communities - Community Settings you can create a new sharing set. Sharing sets let you use attributes off the user record and determine sharing of records based on those attributes.

E.G. The User.AccountId matches the Id of the Account record, then they have Read/Write access to that record vs just read access. You can do the same with their contact and other objects as well.

Salesforce Sharing Set Image

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.