2

I have retrieved all custom object metadata for Account, including the referenced custom field, but vscode is still showing it as not existing. enter image description here

2

For the code completion suggestions to work, it relies on the SObject definitions being refreshed as opposed to whether you've retrieved the new metadata.

You can do this by using the Command Palette (CTRL+Shift+P) and running the following action SFDX: Refresh SObject Definitions

enter image description here

2
  • Awesome, that did it!
    – cre
    May 26 '20 at 19:49
  • Thank you very much.
    – cre
    May 26 '20 at 19:49

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.