Newer Version Available

This content describes an older version of this product. View Latest

Enable Org Shape for Scratch Orgs (Beta)

Enable Org Shape for Scratch Orgs in the org whose shape you want to capture (source org).

This feature is a Beta Service. Customer may opt to try such Beta Service in its sole discretion. Any use of the Beta Service is subject to the applicable Beta Services Terms provided at Agreements and Terms. You can provide feedback and suggestions in the Org Shape for Scratch Orgs Trailblazer group.

Note

Available in: Developer, Group, Professional, and Enterprise editions

Not available in: Scratch orgs and sandboxes

Beta Limitations:
  • Enable Org Shape for Scratch Orgs in both the source org and the Dev Hub org.
  • When entering the org ID, use only the first 15 characters rather than the full 18-character org ID.
  1. As an admin, log in to the source org.
  2. From Setup, enter Org Shape in the Quick Find box, then select Org Shape.
  3. In the source org, click Enable Org Shape for Scratch Orgs (Beta).

    If your source org is different from your Dev Hub org, enter the 15-character Dev Hub org ID that you’re using to create scratch orgs. You can specify up to 50 Dev Hub org IDs to address these common use cases:

    • You have multiple production orgs but your development team has access to only one. For the customization they're building, they require the shape of another production org.
    • Your developers use their own Dev Hub orgs and don't have access to the production org. However, they want to create scratch orgs based on the shape of the production org.
    • You're an ISV who uses your production org to create scratch orgs but you want to capture the shape of your first-generation packaging org so you can begin to build second-generation packages.
  4. Enable Org Shape for Scratch Orgs in the Dev Hub org. Contact your Salesforce admin if you require assistance.