+ Start a Discussion
leoSFDC 13leoSFDC 13 

multiple project in VSCode

I am trying to use VS Code for my two different dev org.
I am using Create project with Manifest option.
If i create Create project with Manifest option for first org and executes authorize and retrieve command, it works fine and i am able to retrieve all components,
now if i create 2nd new project with manifest option  and after authorizing the second org, when i open package.xml for second project and try to retrieve components,
it is not retrieving components for second org, later i realize it has retrieve all the component first projects directory
Best Answer chosen by leoSFDC 13
Nikhil SutharNikhil Suthar
Hello,

As you told us you created 2nd project with manifest option ..
Did you created that project in same workspace of VScode?
If yes you have to use differenet workspace for that.
Just Use File:Close workspace
Then create project again and authorize your org and retrive data it will work fine 

For retriving data from org use https://marketplace.visualstudio.com/items?itemName=VignaeshRamA.sfdx-package-xml-generator
This extension it will be easy to use.

Thanks

All Answers

Nikhil SutharNikhil Suthar
Hello,

As you told us you created 2nd project with manifest option ..
Did you created that project in same workspace of VScode?
If yes you have to use differenet workspace for that.
Just Use File:Close workspace
Then create project again and authorize your org and retrive data it will work fine 

For retriving data from org use https://marketplace.visualstudio.com/items?itemName=VignaeshRamA.sfdx-package-xml-generator
This extension it will be easy to use.

Thanks
This was selected as the best answer
leoSFDC 13leoSFDC 13
Thank you @Nikhil Suthar.