Using SalesforceDx deploy metadata in Sandboxes or Non-Scratch Salesforce Orgs
With the introduction of Salesforce DX, it creates confusion how can I work with old Salesforce(Non Salesforce DX) projects. In this post, I tried to explain how you can still work with your existing non salesforce dx project code, but get all the benefits of Salesforce DX.First let’s understand the biggest difference between Salesforce DX and Non Salesforce DX which is that in Salesforce DX we don’t need any package.xml and all the changes will be automatically detected. Basically in Salesforce DX, the project format is different than traditional Non Salesforce DX project format.In today’s blog post, I will discuss how Salesforce DX can be used without enabling Developer Hub with normal Salesforce instance.I will be using one my developer org(Non Salesforce DX) for this one.The first command I will be issuing here is to authenticate my developer org and the command is:sfdx force:auth:web:login -a SudiptaPersonal Above command will open the browser where I will be providing my org’s credential and thus authenticating my personal org. With -a, I am here giving alias “SudiptaPersonal” to my developer org. Advantage of setting alias is that going forward, I will be using alias to issue any commands against this org instead of typing username and password every time.Now I will try to retrieve metadata using package.xml. For that, I stored the package.xml in src folder and now with the below command...
Read More