Loading
Feature degradation | Gmail Email delivery failureRead More
Sandboxes: Staging Environments for Customizing and Testing
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
          Create or Edit Sandbox Templates

          Create or Edit Sandbox Templates

          Sandbox templates control which data is copied into a Partial Copy or Full sandbox.

          Required Editions

          Available in: both Salesforce Classic and Lightning Experience
          Available in: Professional, Enterprise, Performance, Unlimited, and Database.com Editions
          User Permissions Needed
          To view a sandbox: View Setup and Configuration
          To create, refresh, activate, and delete a Partial Copy or Full sandbox: Manage Sandboxes

          Sandbox templates allow you to pick specific objects and data to copy to your Full or Partial Copy sandbox to control the size and content of each sandbox. Sandbox templates are only available for use with Full or Partial Copy sandboxes.

          When you create a sandbox template, you select the object data (standard and custom) to copy during the creation or refresh of a sandbox.

          The sandbox template editor understands the relationships that are defined in your Salesforce org object schema. Some objects are included even before you’ve selected anything because they’re required in any org. As you select objects to copy, the editor ensures that the associated required objects are added. To see which related objects are required by an object, select it in the Object table. Required objects are displayed in the Required Objects column.

          As you change the schema of the objects in your org, Salesforce updates the template by adding or subtracting related required objects. For example, if Object A is a master of Object B, and you add Object B to a template, Salesforce requires Object A in the template and adds Object A.

          Note
          Note Full and Partial Copy sandboxes can support asset files along with other content entities. Make sure to select Content Body in the template.
          1. From Setup, enter Sandboxes in the Quick Find box, select Sandboxes, then click the Sandbox Templates tab.
          2. Click New Sandbox Template or click Edit next to an existing template you want to modify.
          3. Enter a name and description for the sandbox template.
          4. To add objects to the template, select the checkbox for each object you want from the available Objects list.
            The Object Details section shows you the objects to be added automatically with the one you’ve selected.
          5. To remove objects from the template, deselect the checkbox for the object in the available Objects list.
            If you remove an object you previously selected, dependent objects you didn’t explicitly select are removed. If you attempt to remove an object with dependent objects, you receive a warning requesting a confirmation of the removal. After you confirm your choice, those objects are also removed.
          6. Click Save.

          To understand how to use a Sandbox template during sandbox creation or refresh, see Create a Sandbox.

          To understand how a Sandbox template is used by the sandbox copy engine to create a Full or Partial Copy sandbox, see Sandbox Licenses and Storage Limits by Type.

          Warning
          Warning If you modify your object schema, your sandbox templates could be altered to include objects that are required by relationships. If you make a change to a required relationship in your object schema, review your sandbox templates to ensure that objects that you expect to be selected are still selected.
           
          Loading
          Salesforce Help | Article