11.01.2015 Views

salesforce_security_impl_guide

salesforce_security_impl_guide

salesforce_security_impl_guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Securing and Sharing Data<br />

Creating Lead Sharing Rules<br />

–<br />

Auto Number<br />

– Checkbox<br />

– Date<br />

– Date/Time<br />

– Email<br />

– Number<br />

– Percent<br />

– Phone<br />

– Picklist<br />

– Text<br />

– Text Area<br />

– URL<br />

– Lookup Relationship (to user ID or queue ID)<br />

Note: Text and Text Area are case-sensitive. For example, a criteria-based sharing rule that specifies “Manager” in a text field won’t<br />

share records with “manager” in the field. To create a rule with several common cases of a word, enter each value separated by a<br />

comma.<br />

Creating Lead Sharing Rules<br />

Lead sharing rules are based on the record owner or on other criteria, including record type and<br />

certain field values. You can define up to 300 lead sharing rules, including up to 50 criteria-based<br />

sharing rules.<br />

1. If you plan to include public groups in your sharing rule, confirm that the appropriate groups<br />

have been created.<br />

2. From Setup, click Security Controls > Sharing Settings.<br />

3. In the Lead Sharing Rules related list, click New.<br />

4. Enter the Label Name and Rule Name. The Label is the sharing rule label as it appears on the<br />

user interface. The Rule Name is a unique name used by the API and managed packages.<br />

5. Enter the Description. This field describes the sharing rule. It is optional and can contain up to<br />

1000 characters.<br />

6. Select a rule type.<br />

7. Depending on the rule type you selected, do the following:<br />

EDITIONS<br />

Available in:<br />

• Enterprise<br />

• Performance<br />

• Unlimited<br />

• Developer<br />

USER PERMISSIONS<br />

To create sharing rules:<br />

• “Manage Sharing”<br />

• Based on record owner—In the owned by members of line, specify the users whose records will be shared:<br />

select a category from the first drop-down list and a set of users from the second drop-down list (or lookup field, if your organization<br />

has over 200 queues, groups, roles, or territories).<br />

• Based on criteria—Specify the Field, Operator, and Value criteria that records must match to be included in the sharing<br />

rule. The fields available depend on the object selected, and the value is always a literal number or string. Click Add Filter Logic...<br />

to change the default AND relationship between each filter.<br />

Note: To use a field that’s not supported by criteria-based sharing rules, you can create a workflow rule or Apex trigger<br />

to copy the value of the field into a text or numeric field, and use that field as the criterion.<br />

51

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!