Trying to Setup Salesforce DX IDE environment with Visual Studio Code I'm facing issue while using this command--> Retrieve by package.xml and Get All Files from org. Can you please help me out to integrate with VS code.

  • 2
    What kind of issue are you facing exactly? – kurunve Jul 4 '18 at 11:59
  • Retrieve Errors Thumb down and some time connect time out – Issac Pal Jul 5 '18 at 6:17

You don't. Yet. Visual Studio Code using Salesforce Extensions is supposed to work with Scratch Orgs (via SalesforceDX), not Sandboxes.

If you need to access and edit the metadata (classes, pages, components) in your sandbox you either use the console or another tool like Eclipse with the Force.com plugin.

Cheer up, Salesforce is planning to support the usage of the development tools in sandboxes as well, but in the future.

  • I cant fully agree. There is possibility to use sfdx to fetch metadata and there is extension that can do it out of the box – user1974566 Jul 4 '18 at 18:59
  • Forcecode the name is. – user1974566 Jul 4 '18 at 19:07
  • 1
    ForceCode is deprecated, just like MavensMate (the equivalent for Sublime Text 3) is. – Renato Oliveira Jul 4 '18 at 19:08
  • You can do it with sandboxes, but it's not a very polished workflow at all (pushing and pulling the SFDX Metadata API commands). Better to use another solution with VS Code or another editor. – David Reed Jul 4 '18 at 19:42
  • 3
    It's possible now via the Preview of the SFDX VSCode extension. More here: github.com/forcedotcom/salesforcedx-vscode/wiki/… – evanmcd Aug 27 '18 at 20:17

Not the answer you're looking for? Browse other questions tagged or ask your own question.