I am new to Salesforce and I have a question regarding to my first real task so I don’t make nothing wrong.

I have created a new validation rule in my sandbox and I want to bring this to my Visual Studio project so I can create a pull request after that. I am already connected with my sandbox and already created a new branch. How I bring this change now to VS Code? I can see that the other validation rules from the project are here but I’m not sure how to bring mine and I’m afraid to try different things here.

Please help, thanks!

  • 1
    Sure thing, no worries, I also suggest you look into this documentation to add into @sfdcfox mentioned. – Jeferson Chaves Apr 22 at 13:39

Right-click on the validation rules folder for the object, and click SFDX: Retrieve Source from Org.


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.