Create a Scratch Org Based on an Org Shape
Available in: Developer, Group, Professional, Unlimited, and Enterprise editions. The scratch org created from the org shape is the same edition as the source org.
Not available in: Scratch orgs and sandboxes
What’s Included in Org Shape?
Features, Metadata API settings, edition, limits, and licenses determine what we refer to as an org’s shape. For further clarification, org shape includes:
- Metadata API settings with boolean fields.
- Licenses associated with installed packages, but not the packages themselves. To use the associated package, install it in the scratch org created from the org shape.
What’s Not Included in Org Shape?
- Metadata API settings with integer or string fields. However, you can manually add non-Boolean settings or other settings not included in the source org to your scratch org definition. See Scratch Org Definition for Org Shape for examples.
- Metadata types
- Data
Org Shapes Are Specific to a Release
Scratch org shapes are associated with a specific Salesforce release. Be sure to recreate the org shape after the source org is upgraded to the new Salesforce release. During a Salesforce major release transition, your Dev Hub org and source org can be on different release versions. See Scratch Org Definition for Org Shape for options during the transition period.
Can I See the Org Shape File?
Org shapes are internal system files and aren’t viewable.