Sandeep Satyavolu

Jan 19, 20231 min

Scratch Org- Developer Hub Org #SFDC

A Scratch org is a disposable, flexible, and completely isolated Salesforce environment that enables developers to test and experiment with new features and customizations without affecting the production environment. Scratch orgs are formed using a "scratch org definition file," which is a JSON file that defines the scratch org's setup and information.

For example, suppose a developer wants to work on a new feature for a Salesforce app that necessitates the use of a specific set of profiles, permission groups, and custom objects. The developer can establish a scratch org, describe the required components in the org definition file, and then test the new feature without affecting the production environment. The scratch org can also be shared with other team members for collaboration and testing. The developer can then deploy the modifications to the production org once the functionality has been finalised and tested.

Scratch orgs are created using Salesforce CLI, and they only exist for a limited time period before they expire. Once the org is no longer needed it can be deleted, and all data and metadata associated with it will be deleted as well.

A Developer Hub (Dev Hub) is the primary Salesforce org in which you and your team develop and administer scratch orgs.

Hope This Helps ! Happy Learning

    170
    0