Hi Rahul, Beautiful videos ..thanks to you ! I have a doubt what's the diff between linking vscode project to scratch org and github to scratch org the other video you have on your channel .?
Hello, glad you liked the videos 😄 There is no difference as we're not linking GitHub to scratch org, we're linking VSCode project to scratch org in that video as well, the difference is that there, we're getting our source code from a GitHub repo and then pushing it to a scratch org using the same sfdx commands. Therefore, the same folder is linked to scratch org as well as our github repo.
Hi Rahul ..I am getting this error "Could not retrieve the username after successful auth code exchange. Due to: The REST API is not enabled for this Organization." when trying to setup connection with vscode . I am using Salesforce Developer trial version of 30 days .Can you please let me know the cause of this issue .
Hi, that maybe an issue because you're using a trial version, maybe it doesn't support interacting with APIs. I would suggest to create a developer org. You can sign up for a new dev org here: developer.salesforce.com/signup
Hi Rahul Nice video, can you tell me when i create scratch orgs , how can we reset the password of the newly created org user, i have tried multiple things like forgot password and changing the password from account using password section basically im using this scratch orgs for my DevOps centre repo, please let me know
Hi Rahul..it's a very nice video. I appreciate your efforts. Please let me know how many Dev hubs we can create . As I could we can authorize dev hub different aliases. Likewise how many Dev hubs we can create?
Hi Chandra, glad to know that you liked it :-) You can have one devhub per developer/enterprise/performance/unlimited edition of salesforce. Each edition has it's own limit of scratch orgs that you can create.
@@sfdcstop Thanks Rahul. When we authorize dev hub we can do that with an alias. For eg lets sat we did that with alias1..can we authorize again with alias2 or 3..etc?
Hi ..tried to create scratch org..but after giving cred in sfdc login page...it is throwing error authenticating with auth code due to : read ECONNRESET. Pls help on this
Hi, this error usually comes when your sfdx cli is not able to connect to internet. Please make sure that you have a stable internet connection and try again
Hi Rahul, I have created the scratch org. But how can my team mate access the same scratch org from vs code? Created the user and he is able to access through the direct url. But what about from vs code?
Hi Pooja, ideally both of you should use separate scratch orgs, if you still want to connect a scratch org to vscode, you can consider scratch org as a sandbox and authenticate that via vscode as any other sandbox
Hi, I'm trying to push complete code from PROD to new scratch org but i'm getting numerous errors when i try that. Do you know what can be deployed and what cannot be to scratch org? Thanks, Raj
Hi Raj, you first need to convert the metadata into source format before deploying to scratch org, have a look at this video:- ruclips.net/video/WU_QPEPBwQI/видео.html Also, please make sure that you've fetched everything in your package.xml so that it's fetched from production
Great work here. Keep up the good work Rahul.
Thank you for letting me know Kamal, it really encourages me to create more videos. Keep Learning!!
@@sfdcstop I've seen many videos regarding Sfdx + Scratch org + git. But yours stucked to my head
Thank you so much rahul. You helped me with this task.
Hello SFDC Stop,
I have query , can I delete the active scratch once I am done with my project.
Yes, you can do that by using sfdx and also by going into the DevHub and deleting the active scratch org record.
Hi Rahul, Beautiful videos ..thanks to you ! I have a doubt what's the diff between linking vscode project to scratch org and github to scratch org the other video you have on your channel .?
Hello, glad you liked the videos 😄 There is no difference as we're not linking GitHub to scratch org, we're linking VSCode project to scratch org in that video as well, the difference is that there, we're getting our source code from a GitHub repo and then pushing it to a scratch org using the same sfdx commands. Therefore, the same folder is linked to scratch org as well as our github repo.
Hi Rahul ..I am getting this error "Could not retrieve the username after successful auth code exchange. Due to: The REST API is not enabled for this Organization." when trying to setup connection with vscode . I am using Salesforce Developer trial version of 30 days .Can you please let me know the cause of this issue .
Hi, that maybe an issue because you're using a trial version, maybe it doesn't support interacting with APIs. I would suggest to create a developer org. You can sign up for a new dev org here: developer.salesforce.com/signup
@@sfdcstop Thank you Rahul :)
Hi Rahul Nice video, can you tell me when i create scratch orgs , how can we reset the password of the newly created org user, i have tried multiple things like forgot password and changing the password from account using password section
basically im using this scratch orgs for my DevOps centre repo, please let me know
Hi Rahul..it's a very nice video. I appreciate your efforts. Please let me know how many Dev hubs we can create . As I could we can authorize dev hub different aliases. Likewise how many Dev hubs we can create?
Hi Chandra, glad to know that you liked it :-) You can have one devhub per developer/enterprise/performance/unlimited edition of salesforce. Each edition has it's own limit of scratch orgs that you can create.
@@sfdcstop Thanks Rahul. When we authorize dev hub we can do that with an alias. For eg lets sat we did that with alias1..can we authorize again with alias2 or 3..etc?
Yes Chandra, you can do that. I guess it will override the previous alias then.
Hi ..tried to create scratch org..but after giving cred in sfdc login page...it is throwing error authenticating with auth code due to : read ECONNRESET.
Pls help on this
Hi, this error usually comes when your sfdx cli is not able to connect to internet. Please make sure that you have a stable internet connection and try again
Hi Rahul, I have created the scratch org. But how can my team mate access the same scratch org from vs code? Created the user and he is able to access through the direct url. But what about from vs code?
Hi Pooja, ideally both of you should use separate scratch orgs, if you still want to connect a scratch org to vscode, you can consider scratch org as a sandbox and authenticate that via vscode as any other sandbox
Hi,
I'm trying to push complete code from PROD to new scratch org but i'm getting numerous errors when i try that. Do you know what can be deployed and what cannot be to scratch org?
Thanks,
Raj
Hi Raj, you first need to convert the metadata into source format before deploying to scratch org, have a look at this video:- ruclips.net/video/WU_QPEPBwQI/видео.html Also, please make sure that you've fetched everything in your package.xml so that it's fetched from production
My scratch org always create in classic. Any idea?
Do you mean by default it's opening in classic? Can you switch to lightning?