Newer Version Available
Create Sharing Rules
A sharing rule is based on the record owner or other criteria, including record type and
certain field values. You can define up to 300 sharing rules for each object, including up to 50
criteria-based sharing rules, if available for the object.
| Available in: Salesforce Classic (not available in all orgs) and Lightning Experience |
| Available in: Professional, Enterprise, Performance,
Unlimited, and Developer Editions See Sharing Rule Considerations for more information on availability. |
| User Permissions Needed | |
|---|---|
| To create sharing rules: | Manage Sharing |
- If you plan to include public groups in your sharing rule, confirm that the appropriate groups have been created.
- From Setup, enter Sharing Settings in the Quick Find box, then select Sharing Settings.
- In the Sharing Rules related list for the object, click New.
- Enter the label name and rule name. The label name appears on the user interface. The rule name is a unique name used by the API and managed packages.
- Select a rule type, if prompted. Some rules types aren’t available for all objects.
-
Select which records or users to share. Depending on the rule type
you selected, do the following.
- Based on record owner—For owned by members of, specify which users’ records are shared. Select a category from the first dropdown list and a set of users from the second dropdown list or lookup field.
- Based on criteria—Specify the field, operator, and value criteria that records must match to be included in the sharing rule. The fields available depend on the object selected, and the value is always a literal number or string. To change the AND relationship between filters, click Add Filter Logic.
- Based on account territories—For Accounts in Territory, select Territories or Territories and Subordinates from the first dropdown list and a territory from the second dropdown list. This option is available only for sharing rules created via the Account Territory Sharing Rules related list. The Account Territory Sharing Rules related list isn’t available with Enterprise Territory Management.
- Based on group membership—You can share users who are members of a group with members of another group. For Users who are members of, select a category from the first dropdown list and a set of users from the second dropdown list or lookup field. This option is available only for user sharing rules.
-
- Click Save.