top of page

Sharing Records with Digital Experience (Community) Users (Partner/Customer Users)

By using sharing sets now you can share the records with "Digital Experience" users (Customer or Partner) without specially write any apex code, sharing rules.

This give ability to share records based on the login user's matching account or contact.

For this you have to follow the following steps:

  1. Create a lookup field of account/contact on the object which you want to share.

  2. Create sharing set as following:

    1. Go to setup, search Digital Experiences, open Settings.

    2. Scroll down to the Sharing Sets related list.

    3. Click on New button.

    4. Fill Label, Sharing Set Name and Description.

    5. Select profile(s) to whom you want to share the records.

    6. Select Select Objects which you want to share.

    7. Click on the Set Up link under Configure Access section.

    8. Select Use field on which match the record should share, in our case we are selecting account.

    9. Select Matches field of the object, in our case we are selecting Account__c.

    10. Select Access Level Read Only or Read/Write.

    11. Click on Update.

    12. Click on Save.

Sharing set created, now you have to create some automation like workflow/flow/apex trigger to fill the lookup you have created in step 1. or You can manually fill the lookup with the "Digital Experience" user's account/contact.


Now Digital Experience user will see the records.

Comentários


bottom of page