I'm trying to work with my existing project codes via Visual Studio Code IDE. I tried to connect to my organization sandbox and I think I am able to connect to sandbox. But I can't see the existing classes, triggers, etc.
"Successfully authorized xxx@xxxx with org ID XXX You may now close the browser"
Then I decided to follow below tutorial and create a a "Hello World Lightning Web Component" but while I'm trying to "Deploy Source to Org" I got this error : "NoOrgFound: No org configuration found for name https://usfca-student--alper.lightning.force.com/lightning/page/home"
Tutorial : https://trailhead.salesforce.com/content/learn/projects/quick-start-lightning-web-components/create-a-hello-world-lightning-web-component
Is there a way you to work with my organization existing codes via Visual Studio Code? If yes how? Can you share me some resources?
4 answers
Hi Alper,
Follow these steps:
1. Close your current project. Go to file --> Close Project.
2. Hit CRTL+Shift+p, write sfdx: create project with manifest, choose for sandbox or dev org write name and hit enter.
3. Now try sfdx: retrieve from source/org.
This should do the job for you.
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.
Thanks,
Ajay Dubedi