Loading
Scheduled maintenance for Salesforce HelpRead More
CRM Analytics
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Set Sharing Inheritance for a Data Prep Recipe

          Set Sharing Inheritance for a Data Prep Recipe

          Specify the sharing inheritance settings when generating a dataset from a Data Prep recipe, then set a default security predicate.

          Note
          Note We recommend that you test in a sandbox environment before rolling out sharing inheritance to production. To make sure that sharing inheritance works for you, test your particular use cases against your Salesforce org’s security model and data to make sure that sharing inheritance works for you.

          Configure Data Prep Recipe

          Before a dataset can inherit sharing, you must configure its recipe in Data Prep. Specify which source object to inherit sharing from and the backup security predicate.

          1. Enable sharing inheritance for your org and synced objects if you haven’t already. For more information, see Enable Sharing Inheritance.
          2. Open the recipe in Data Prep. Sharing inheritance isn’t available for recipes built in Data Prep classic.
          3. In the output node, configure the sharing inheritance settings. Set which object is the source of sharing rules (1).
            Output node of data prep recipe calling out sharing source and security predicate.
          4. Optionally, add a security predicate in the Security Predicate field (2). Leaving this field empty is the same as “False,” so users not covered by sharing inheritance have no record visibility. For syntax and more information, see Add Row-Level Security with a Security Predicate.
          5. Click Apply.

          Configure Datasets

          Update the sharing inheritance settings for datasets on the edit dataset page.

          Note
          Note The settings in the dataset and recipe must match. If they don’t, you receive the warning, "The sharing source and security predicate in this dataset version must be the same as in the recipe."

          To remove the warning, set the security predicate in the recipe output node and its resulting dataset to false, then rerun the recipe.

          1. Edit the dataset. For more information, see Edit a Dataset.
          2. Click the pencil under Sharing Source.
            Enter object name in Sharing Source field on the dataset edit page
          3. Select the object to inherit sharing settings from. Only valid objects are displayed in the list. For example, the primary key of the object must be a field in the dataset.
          4. Optionally, click the pencil under Security Predicate. The security predicate is the row visibility fallback when you exceed sharing inheritance limits, described here.
            1. Add your security predicate in the syntax described in Add Row-Level Security with a Security Predicate. The default on existing datasets is false, so users not covered by sharing inheritance have no record visibility.
           
          Loading
          Salesforce Help | Article