function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
saariko.ax241saariko.ax241 

The difference between : Save to Server and Deploy

Can someone please explain what is the process of Save to Server and Deploy to Server

And to which env should I do what?  

 

 - I have both Sandbox and Production env

 

 - Do I need to first deploy to DEV - than when i need to update, can I just save?

 

Or is there another workflow requirement?

Best Answer chosen by Admin (Salesforce Developers) 
AmitSahuAmitSahu

In short :

 

Save to Server - Save the updated code to your development org (Dev Edition / Sandbox) from Eclipse IDE. There is no test methods run at this time.

 

Deploy to Server -  Deploying to code to any kind of instance. All the test methods execute in the background before you are deploy the code. The environment can be Dev Edition/Sandbox or your Production instance.

 

There is no need to deploy on Dev just save it .. Deploy on the production.

 

I hope did not confuse you...

 

 

All Answers

AmitSahuAmitSahu

In short :

 

Save to Server - Save the updated code to your development org (Dev Edition / Sandbox) from Eclipse IDE. There is no test methods run at this time.

 

Deploy to Server -  Deploying to code to any kind of instance. All the test methods execute in the background before you are deploy the code. The environment can be Dev Edition/Sandbox or your Production instance.

 

There is no need to deploy on Dev just save it .. Deploy on the production.

 

I hope did not confuse you...

 

 

This was selected as the best answer
saariko.ax241saariko.ax241

Thanks,

 

and in shorter: the names should be:

Save to Dev/SB

Deploy to -- select env (prod/sb/dev)

 

thanks

David Brenner 13David Brenner 13
Bonus question!: What's the difference between Synchronize and Save to Server/Refresh from Server?