In my VS Code project there is a folder:

tools > sobjects > customObjects

Which contains .cls file representations of the custom objects.

I've recently run command:

SFDX: Retrieve Source from Org

And I've got the latest meta data, but I am missing some .cls files the folder:

tools > sobjects > customObjects

Is there a command I need to run to generate these files?


Those files will be refreshed from the org your project is connected to if you open the command palette in vscode and run SFDX: Refresh SObject Definitions.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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