Sub topic 12
Finding sandboxes and environment settings
This chapter assumes you can open Setup from the gear icon, use Quick Find, and read the Setup menu categories. It also assumes you know the basic difference between production and a sandbox. You will learn where Setup shows your environments and how to tell which one you are in.
What "environment" means in Setup
An environment is a separate copy of a Salesforce org. Production is the live org your users work in. A sandbox is a copy of production used for building and testing. Changes you make in a sandbox do not affect production data or users.
Setup does not have one page called "Environments". The pages are spread across the menu, so you search for them by name.
Open the Sandboxes page
The Sandboxes page lists every sandbox created from the production org. You can only manage sandboxes from production.
- Click the gear icon, then choose Setup.
- In Quick Find, type
Sandboxes. - Under Environments, then Sandboxes, select Sandboxes.
The list shows each sandbox's name, type, status, and the date it was last refreshed. You can start a new sandbox from this page or refresh and delete existing ones. Which actions appear depends on your permissions and on your org's sandbox allowance.
Sandbox types
Each sandbox type copies a different amount of data. The type you can pick depends on your Salesforce edition and allowance.
| Type | What it copies | Typical use |
|---|---|---|
| Developer | Configuration and metadata only | Individual development |
| Developer Pro | Configuration only, with more storage | Larger development or testing |
| Partial Copy | Configuration plus a sample of data | Testing and training |
| Full | Configuration and all data | Final testing before release |
Tell which org you are in
Working in the wrong org is a common mistake. Use these checks before you change anything.
- A sandbox's login URL and its My Domain contain the sandbox name. The username also ends with
.sandboxname. - Setup Home and the Company Information page show the org type and details.
- In Quick Find, type
Company Informationand open that page. The Organization Edition and Instance fields identify the org.
You can also confirm from the command line. The command below lists the orgs your Salesforce CLI knows about and marks which one is the default.
sf org listOther environment settings
Some settings affect how environments behave. Use Quick Find to reach each one.
- My Domain controls your org's login URL.
- Deployment Settings controls whether incoming change sets are allowed.
- Change Sets, under Environments, then Change Sets, lists the Inbound and Outbound change sets used to move configuration between orgs.
- Deployment Status shows the progress and results of recent deployments.
flowchart TDCommon errors
- Looking for Sandboxes in a sandbox. The page is in production. Switch to production and search again.
- Assuming a refresh keeps your work. A refresh replaces the sandbox with a new copy of production. Deploy or save any work you want to keep first.
- Changing the wrong org. Check the org before editing. A change that belongs in a sandbox should not first be tried in production.
- Missing Change Sets menu items. Developer Edition orgs often show fewer Environments pages than production or a sandbox.
Exercise
You search for Sandboxes in Quick Find and nothing appears. Name two possible reasons and one way to check which org you are in.
Show answer
The org may be a sandbox or Developer Edition, where sandboxes cannot be managed, or your user may lack the permission to manage them. To check the org, open Company Information in Setup and read the Organization Edition and Instance fields, or run sf org list in the Salesforce CLI.