• WHO WE ARE
  • WHAT WE DO
    • Implementations
      • Salesforce
        • Sales Cloud
        • Service Cloud
        • CPQ
        • Field Service for SMEs
        • Field Service Lightning
      • Salesforce Partner Apps
        • Panda Doc
        • Conga
    • Developments
      • Salesforce Customization
      • Custom Application Development
      • AppExchange Product Development
    • Migrations
      • Classic to Lightning Migration
      • Other Systems to Salesforce Migration
    • Integrations
  • HOW WE DO
    • Delivery Model
    • Our Works
  • REACH US
    • Contact Us
    • Careers
  • BLOG
    • WHO WE ARE
    • WHAT WE DO
      • Implementations
        • Salesforce
          • Sales Cloud
          • Service Cloud
          • CPQ
          • Field Service for SMEs
          • Field Service Lightning
        • Salesforce Partner Apps
          • Panda Doc
          • Conga
      • Developments
        • Salesforce Customization
        • Custom Application Development
        • AppExchange Product Development
      • Migrations
        • Classic to Lightning Migration
        • Other Systems to Salesforce Migration
      • Integrations
    • HOW WE DO
      • Delivery Model
      • Our Works
    • REACH US
      • Contact Us
      • Careers
    • BLOG
  • [email protected]
  • (+91) 44-49521562
Merfantz - Salesforce Solutions for SMEs
Merfantz - Salesforce Solutions for SMEs
  • WHO WE ARE
  • WHAT WE DO
    • Implementations
      • Salesforce
        • Sales Cloud
        • Service Cloud
        • CPQ
        • Field Service for SMEs
        • Field Service Lightning
      • Salesforce Partner Apps
        • Panda Doc
        • Conga
    • Developments
      • Salesforce Customization
      • Custom Application Development
      • AppExchange Product Development
    • Migrations
      • Classic to Lightning Migration
      • Other Systems to Salesforce Migration
    • Integrations
  • HOW WE DO
    • Delivery Model
    • Our Works
  • REACH US
    • Contact Us
    • Careers
  • BLOG

How to Create and Use Scoping Rules in Salesforce

  • March 10, 2022
  • Merfantz Blogger
  • Salesforce Lightning
  • 0

                  Scoping rules let control the default records that your users see based on the criteria that we select. We can set up scoping rules for different users in your Salesforce org so that they can focus on the records that matter to them. Scoping rules are available for custom objects and the account, case, contact, event, lead opportunity, and task standard objects. Create, edit, or delete scoping rules using the Tooling or Metadata API, or in Salesforce Setup.

For information on enabling the scoping rules, visit the Scoping Rules group in the Trailblazer Community. We can also provide feedback and suggestions for scoping rules in this group.

Scoping rules diagram about its relationship with other sharing mechanisms.

When Do I Use Scoping Rules?

Use rules when we want to control the records that your users see by default. A scoping rule doesn’t restrict users’ access to other records they sometimes need.

For example, having users who support multiple agencies in your org. Each user is assigned to a specific agency each day. We can set so that each morning your users see only the records associated with their specified agency in search results, list views, related lists, and reports. Users don’t need to spend time looking for the correct records, but they still have access to the other agencies’ records if they need them.

Or you have teams of advisors and their support staff spread over multiple offices. Clients can interact with multiple advisors, too, depending on their needs.

Where Are Scoping Rules Applied?

This table shows how it works with other Salesforce features.

Feature Description
List Views Applied in Lightning Experience if Filter by scope is selected
Lookups Applied in Lightning Experience
Reports Applied in Lightning Experience if Filter by scope is selected
Search Applied in Lightning Experience
SOQL Applied, unless a scope other than scopingrule is specified
SOSL Applied, except for “USING ListView=” clause
 

Note

In related lists (except contact role), all associated records that We have access to are visible, regardless of scope.

Create a Scoping Rule

Determine which records your users see by default. When a scoping rule is applied to a user, the data that the user sees in list views, lookups, reports, and more is filtered by the criteria set.
Your edition affects how many active rules we can have.
  • Create up to two active scoping rules per object in Developer editions.
  • Create up to five active scoping rules per object in Performance and Unlimited editions.
  1. In Object Manager, click the object name for your scoping rule.
  2. In the sidebar, click Scoping Rule, and then click New Rule.
  3. Enter the rule’s name and modify the autogenerated full name if necessary. The full name is the name of the component used by the API.
  4. To have the rule take effect upon saving, select Is Active.
  5. Under User Criteria, select which users this scoping rule applies to.
  6. Under Record Criteria, select which records the specified users see by default. For the Field value, we can reference another object’s field using dot notation.
  7. Click Save.

             For more blog: How to deactivate and freeze a user in salesforce

             Reference from: click here

  • Previous How to Create and Use Lightning Email Template Builder in Salesforce
  • Next How to Deactivate and Freeze a User in Salesforce
Merfantz Technologies is a leading Salesforce consulting firm dedicated to helping small and medium enterprises transform their operations and achieve their goals through the use of the Salesforce platform. Contact us today to learn more about our services and how we can help your business thrive.

Discover More

Contact Info

  • No 96, 2nd Floor, Greeta Tech Park, VSI Industrial Estate, Perungudi, Chennai 600 096, Tamil Nadu, INDIA
  • (+91) 44-49521562
  • [email protected]
  • 9:30 IST - 18:30 IST

Latest Posts

How to Send a Custom Notification using Flow September 29, 2023
Unlocking Marketing Automation Excellence with Salesforce Pardot | Merfantz September 24, 2023
Looking for the Leading Salesforce Integration Companies? Discover Merfantz September 24, 2023

Copyright @2023 Merfantz Technologies, All rights reserved