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
Ravi Kumar 259Ravi Kumar 259 

In how many ways we can deploy the code from sandox to prodection.?

Best Answer chosen by Ravi Kumar 259
Mudasir WaniMudasir Wani
Hey Ravi,

There are three ways.

Change set where you need to have a connection between two orgs.
https://help.salesforce.com/HTViewHelpDoc?id=changesets.htm&language=en_US (https://help.salesforce.com/HTViewHelpDoc?id=changesets.htm&language=en_US)

Using Eclips -In this case you need to select each component and then then right click and goto force,com and click deploy.
Then it will ask you the target organization credentials.
https://developer.salesforce.com/page/Deploy_Force.com_Applications_Faster
Another one is ANT where you can prepare an XML and can fetch the necessary components and then you can deploy the same to any other organization.
http://www.salesforce.com/us/developer/docs/dev_lifecycle/salesforce_development_lifecycle.pdf


Donot forget to select best answer to make our efforts visible in the developer forum.
Please mark this as solution by selecting it as best answer if this solves your problem, So that if anyone has this issue this post can help
 

All Answers

JFowlerJFowler

Hi Ravi, 
There are a few ways, which I've highlighted below: 

  1. Using a change set. Please find more info here: https://help.salesforce.com/HTViewHelpDoc?id=changesets.htm&language=en_US
  2. Using the force.com IDE through Eclipse. Please find more info here: https://developer.salesforce.com/page/An_Introduction_to_Force_IDE
Please let me know if this helps. 
Mudasir WaniMudasir Wani
Hey Ravi,

There are three ways.

Change set where you need to have a connection between two orgs.
https://help.salesforce.com/HTViewHelpDoc?id=changesets.htm&language=en_US (https://help.salesforce.com/HTViewHelpDoc?id=changesets.htm&language=en_US)

Using Eclips -In this case you need to select each component and then then right click and goto force,com and click deploy.
Then it will ask you the target organization credentials.
https://developer.salesforce.com/page/Deploy_Force.com_Applications_Faster
Another one is ANT where you can prepare an XML and can fetch the necessary components and then you can deploy the same to any other organization.
http://www.salesforce.com/us/developer/docs/dev_lifecycle/salesforce_development_lifecycle.pdf


Donot forget to select best answer to make our efforts visible in the developer forum.
Please mark this as solution by selecting it as best answer if this solves your problem, So that if anyone has this issue this post can help
 
This was selected as the best answer