Activity Forums Salesforce® Discussions How to create a scratch org in salesforce?

  • Piyush

    Member
    September 27, 2019 at 2:52 am

    Hi,

    To create a scratch or in salesforce you have to run this command:

    sfdx force:org:create -f project-scratch-def.json

    for more information you can check:-  https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_scratch_orgs_create.htm

     

  • Saddam

    Member
    September 27, 2019 at 5:59 am

    Hi,

    To create scratch org, first of all, you need to Enable Dev Hub

    After you enabled the dev hub org in your org, the next step is to create the default scratch org. Go to command palette in visual studio code and find “sfdx: create a default Scratch Org…“. Select the command.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos