Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
1 answer
916 views

How do I prevent developers from deploying directly to Devhub and instead push the code to sandbox?

I have a production org that is the Devhub. I have a full copy sandbox. I want that the developers that are working on their respective scratch orgs, don't deploy their changes to production directly. ...
vedant gupta's user avatar
2 votes
2 answers
2k views

Production Deployment of CustomLabel using VS Code (INVALID_ID_FIELD: Source validate did not run tests in the org)

I am trying to deploy customLabels to the production org. But, I am not able to deploy it as it asks to run the test classes. As we know the custom label is just the configurations, not the codes. So, ...
Ghanshyam Kumar's user avatar
3 votes
1 answer
5k views

Delete classes/trigger from Prod via VSCode

I need to delete classes and a trigger from prod via VSCode. I have retrieved the according classes/trigger via package.xml into VSCode. There is the command "SFDX: Delete This from Project and Org", ...
Andrea Voggenreiter's user avatar
2 votes
3 answers
1k views

LWC without APEX: sfdx force:source:deploy into Production

I have a simple LWC component that is only made up of html, javascript, and css (no APEX). When deploying to production via vscode, I am confused on what I am suppose to be testing as I receive the "...
Sean's user avatar
  • 31
14 votes
2 answers
19k views

sf:INVALID_OPERATION: INVALID_OPERATION: testLevel of NoTestRun cannot be used in production organizations

While deploying code in vsCode from sandbox to production I get the below error sf:INVALID_OPERATION: INVALID_OPERATION: testLevel of NoTestRun cannot be used in production organizations As per ...
gs650x's user avatar
  • 2,748