In this section, we configure the user data access rules for the ImBlaze site. This is facilitated through the Community Sharing Settings, a feature introduced in the Winter '19 release for Customer Community Plus and Partner Community Licenses. These settings allow us to map a Lookup from the Community User to records in our Salesforce Organization that also possess that Lookup value.
Unique rules are defined for regional and non-regional users. At a high level, regional users are granted access based on their region/district, while non-regional access rules are determined by the user's school.
Note: Configure one or both sharing sets depending on whether you wish to accommodate regional and/or non-regional scenarios.
ImBlaze Web Portal > STEP 6
To define the rules of data sharing for Non-Regional ImBlaze users, create a new sharing set, add the non regional ImBlaze profile and establish the data access rules for both standard objects and custom ImBlaze objects.
Go to Setup.
Click on Quick find box
Type Digital Experiences
Click Settings.
Go to Sharing Sets section
Click on New button ,
Enter Label and Name for the Sharing Set ( for eg: ImBlaze School Sharing)
Select the Non-Regional ImBlaze Profile from Available list and move it to the Selected List
Select the objects for which data access rules has to be established. Select the following objects :
Account
Contact
Internship
User
Notification
Survey Question
Scroll down to Configure Access section
Click on Set Up for Account Object
In the modal, Enter the following values for the corresponding fields
User - Contact.imblaze__School_Name__c
Target School/Org - imblaze__School_Name__c
Access Level - Read/Write
4. Click Save
5. Repeat the above steps from 1 to 4 for the rest of the added objects based on the table given below -'
TODO: Recheck User. Why double options ?
To define the rules of data sharing for Regional ImBlaze users, create a new sharing set, add the regional ImBlaze profile and establish the data access rules for both standard objects and custom ImBlaze objects.
Go to Setup.
Click on Quick find box
Type Digital Experiences
Click Settings.
Go to Sharing Sets section
Click on New button.
Enter Label and Name for the Sharing Set ( for eg: ImBlaze Regional Sharing)
Select the Regional ImBlaze Profile from Available list and move it to the Selected List
Select the objects for which data access rules has to be established. Select the following objects :
Account
Contact
Internship
User
Notification
Survey Question
Scroll down to Configure Access section
Click on Set Up for Account Object
In the Pop-up, Enter the following values for the corresponding fields -
User - Contact.imblaze__SchoolRegionId__c
Target School/Org - imblaze__Imblaze_Parent_Id__c
Access Level - Read/Write
Click Save
5. Repeat the above steps from 1 to 4 for the rest of the added objects based on the table given below -
TODO: Recheck User setting. Wrong field name