Sub topic 2
Types of Salesforce Orgs, Sandboxes, and Editions
This chapter assumes you understand CRM systems, cloud software, and basic database terms such as tables and records.
Types of orgs
An org is a Salesforce environment with its own users, configuration, data, and security settings. The main org types support different stages of work:
- Production org: The live environment used by a business. It contains real business data and should be changed carefully.
- Sandbox: A copy of a production org used for development, testing, training, or user acceptance testing.
- Scratch org: A short-lived, configurable development environment created from source and a definition file.
- Developer Edition org: A free, isolated environment for learning and development. It is longer-lived than a scratch org but has small limits.
- Trial org: A temporary environment provided for evaluating Salesforce features. Its available features and lifetime depend on the trial.
Sandboxes and their types
Sandboxes are related to a production org and can contain copied metadata, data, or both. Their refresh rules and storage limits differ.
| Sandbox type | Typical use | Data copied |
|---|---|---|
| Developer | Coding and unit testing | Metadata only |
| Developer Pro | Larger development work | Metadata only |
| Partial Copy | Testing with a selected data sample | Metadata and selected data |
| Full | Realistic testing or training | Metadata and all production data |
A sandbox is safer than testing directly in production, but it is not automatically identical forever. Production changes and sandbox refreshes can make their contents different.
Scratch orgs and Developer Edition orgs
A scratch org is designed to be disposable. Developers create it from a project definition, use it for focused work, and recreate it when needed. This makes source-controlled configuration the main source of truth.
A Developer Edition org is persistent and useful for demonstrations, Trailhead-style practice, and small experiments. It is less repeatable than a scratch org because configuration may be changed manually.
What editions are
An edition is a Salesforce license tier. It determines which platform features are available, how much capacity an org receives, and which add-ons can be purchased. Edition is different from org type: a production org and a sandbox can reflect the same licensed capabilities, while a scratch org uses a requested configuration.
How editions differ
Compare editions by checking:
- available objects, automation, APIs, and security features;
- limits for storage, users, records, and automation;
- supported add-ons and industry products;
- whether the edition can create particular sandbox or development environments.
Always verify current limits in Salesforce documentation because licensing and limits can change.
Exercise
Which environment is best for repeatable, source-driven feature development?
Show answer
A scratch org, because its configuration can be recreated from source and a definition file.