{"id":1156,"date":"2015-07-30T06:50:16","date_gmt":"2015-07-30T06:50:16","guid":{"rendered":"http:\/\/www.greytrix.com\/blogs\/salesforce\/?p=1156"},"modified":"2025-06-20T09:10:51","modified_gmt":"2025-06-20T09:10:51","slug":"different-deployment-methods-in-salesforce","status":"publish","type":"post","link":"https:\/\/www.greytrix.com\/blogs\/salesforce\/2015\/07\/30\/different-deployment-methods-in-salesforce\/","title":{"rendered":"Different Deployment Methods in Salesforce"},"content":{"rendered":"<p style=\"text-align: justify;\">Salesforce Deployment is nothing but copying\/transferring Salesforce metadata from one Salesforce organization to another.\u00a0There are various methods to achieve Salesforce metadata deployment.<\/p>\n<p><span style=\"color: #c71d22; font-size: 12pt;\"><strong>Different Deployment Methods<\/strong><\/span><\/p>\n<ol>\n<li>Change Sets<\/li>\n<li>Eclipse with Force.com IDE ( Deprecated)<\/li>\n<li>Force.com Migration Tool \u2013 ANT\/Java based<\/li>\n<li>Salesforce Package<\/li>\n<li>VSCode <a href=\"https:\/\/marketplace.visualstudio.com\/items?itemName=salesforce.salesforcedx-vscode\" target=\"_blank\" rel=\"noopener\">Salesforce Extension Pack<\/a><\/li>\n<li><a href=\"https:\/\/developer.salesforce.com\/blogs\/2020\/06\/introducing-code-builder.html\" target=\"_blank\" rel=\"noopener\">Salesforce Code Builder <\/a><\/li>\n<\/ol>\n<p><span style=\"color: #c71d22; font-size: 12pt;\"><strong>Change Sets<\/strong><\/span><\/p>\n<p style=\"text-align: justify;\">The easiest way to send configuration changes from one Salesforce organization to another is to use a change set though it has a limitation that we can use it among connected Salesforce orgs only (like Developer Sandbox to Test Sandbox &amp; Test Sandbox to Production Org etc). We cannot use it in between any individual Salesforce orgs.<\/p>\n<p>To use change sets we need to have two Salesforce org&#8217;s i.e. one Production org and its Sandbox org.<\/p>\n<p><strong><span style=\"text-decoration: underline;\">Production Org:<\/span><\/strong><br \/>\nIt is Salesforce org with live data which is being actively used.<\/p>\n<p><strong><span style=\"text-decoration: underline;\">Sandbox:<\/span><\/strong><br \/>\nA sandbox is a copy of your production organization. Sandboxes contain the same metadata as production organization.<\/p>\n<p><strong><span style=\"text-decoration: underline;\">Outbound Change Sets:<\/span><\/strong><br \/>\nMake changes in the organization you are logged into, and upload those changes to another organization.<\/p>\n<p><strong><span style=\"text-decoration: underline;\">Inbound Change Sets:<\/span><\/strong><\/p>\n<ol>\n<li>Accept, modify, or reject change sets uploaded from other organizations.<\/li>\n<li>Change sets require a deployment connection between the two Salesforce organizations.<\/li>\n<li>The first step is to create this connection. To create a connection, follow the below steps:<\/li>\n<\/ol>\n<p><span style=\"color: #c71d22; font-size: 12pt;\"><strong>Steps to create Deployment Connections<\/strong><\/span><\/p>\n<ol>\n<li>Create one or more sandboxes.<\/li>\n<li style=\"text-align: justify;\">Go to Setup &gt;&gt; App Setup &gt;&gt; Deploy &gt;&gt; Deployment Connections \/ Deployment Settings. It will show you information on Change set and Outbound\/Inbound change set information. Press \u2018Continue\u2019 button on this page.<\/li>\n<li style=\"text-align: justify;\">Click \u2018Name\u2019 to view existing connection details. We can see this record only if Sandbox is created for Production Org.<\/li>\n<\/ol>\n<p><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2015\/07\/Deploy-01.png\"><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2015\/07\/Deploy-01-1024x414.png\" alt=\"Deploy 01\" width=\"506\" height=\"205\" \/><\/a><\/p>\n<ol start=\"4\">\n<li style=\"text-align: justify;\">Click \u2018Edit\u2019 to authorize inbound changes from a listed organization.<a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2015\/07\/Deploy-02.png\"><img decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2015\/07\/Deploy-02.png\" alt=\"Deploy 02\" width=\"620\" height=\"319\" \/><\/a><\/li>\n<\/ol>\n<p><strong><span style=\"color: #c71d22; font-size: 12pt;\">Steps to create Outbound Change Sets<\/span><\/strong><\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li>In a related sandbox org, use Deployment Connections to authorize inbound changes from this production org (same as shown in above screenshot).<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<ol>\n<li style=\"text-align: justify;\">Go to Setup &gt;&gt; App Setup &gt;&gt; Deploy &gt;&gt; Outbound Change Sets.<\/li>\n<li>Click on \u2018New\u2019 to create a new Change Set.<\/li>\n<\/ol>\n<p><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2015\/07\/Deploy-03.png\"><img decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2015\/07\/Deploy-03.png\" alt=\"Deploy 03\" width=\"467\" height=\"281\" \/><\/a><\/p>\n<ol start=\"4\">\n<li>Click \u2018Add\u2019 to include Salesforce components in your changeset.<\/li>\n<\/ol>\n<p><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2015\/07\/Deploy-04.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2015\/07\/Deploy-04-1024x560.png\" alt=\"Deploy 04\" width=\"505\" height=\"276\" \/><\/a><\/p>\n<p style=\"text-align: justify;\">This displays a list of all Salesforce components like Apex Classes, Packages, Tabs etc. You can choose the type of component and the components you want to add, and then click Add to Change Set.<\/p>\n<p><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2015\/07\/Deploy-05.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2015\/07\/Deploy-05-1024x474.png\" alt=\"Deploy 05\" width=\"530\" height=\"245\" \/><\/a><\/p>\n<ol start=\"5\">\n<li>Click \u2018Add Profiles\u2019 to add profile settings to the change set.<a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2015\/07\/Deploy-06.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2015\/07\/Deploy-06-1024x498.png\" alt=\"Deploy 06\" width=\"562\" height=\"273\" \/><\/a><\/li>\n<li>Click \u2018View\/Add Dependencies\u2019 to add dependent components.<br \/>\nDependent components rely on the existence of other components. Unless you are certain that the dependent components exist in every organization this change set will be deployed to, it&#8217;s a good idea to add dependent components to the change set.<br \/>\n<a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2015\/07\/Deploy-07.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2015\/07\/Deploy-07-1024x499.png\" alt=\"Deploy 07\" width=\"523\" height=\"255\" \/><\/a><\/li>\n<li><span style=\"color: #000000;\">Click <\/span><span style=\"color: #000000;\"><b>\u2018Upload\u2019<\/b><\/span><span style=\"color: #000000;\"> to send these components to another org. <\/span>Select the organization you want to send the change set to and then click <span style=\"color: #000000;\"><b>\u2018Upload\u2019<\/b><\/span>.<a style=\"line-height: 1.6em;\" href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2015\/07\/Deploy-08.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-content\/uploads\/2015\/07\/Deploy-08.png\" alt=\"Deploy 08\" width=\"524\" height=\"137\" \/><\/a><strong>\u00a0<\/strong><\/li>\n<\/ol>\n<p><strong><span style=\"color: #c71d22; font-size: 12pt;\">Steps to create Inbound Change Sets<\/span><\/strong><\/p>\n<ol>\n<li>Log into an org that has received a changeset i.e. Sandbox Org.<\/li>\n<li>Go to Setup &gt;&gt; App Setup &gt;&gt; Deploy &gt;&gt; Inbound Change Sets.<\/li>\n<li>Click a change set name to see its detail.<\/li>\n<li>Click \u2018Validate\u2019 to validate a changeset without deploying changes. Validating a changeset allows you to view the success or failure messages you would receive with an actual deploy.It is highly recommended to validate Change sets before deploying it.<br \/>\nThis is a good idea if you are planning a deployment in future and want to determine if the deployment will succeed ahead of time.<\/li>\n<li>Click \u2018Deploy\u2019 to apply the change set to your Org.<\/li>\n<li>Once the deployment completes, click \u2018View Results\u2019 to see the status and individual changes or errors.<\/li>\n<\/ol>\n<p><span style=\"color: #c71d22; font-size: 12pt;\"><strong>Deployment Status<\/strong><\/span><\/p>\n<p style=\"text-align: justify;\">You can monitor deployments that are in progress, check which deployments are waiting for execution, and view the results of completed deployments on the Deployment Status page. To track the status of deployments, click Setup &gt;&gt; App Setup &gt;&gt; Deploy &gt;&gt; Deployment Status. Deployments are listed in different sections depending on their status.<\/p>\n<p style=\"text-align: justify;\">This is how we can deploy metadata using Change Sets. In our next blog, we will discuss another method of deployment i.e. deployment using Eclipse with Force.com IDE.<\/p>\n<p><span style=\"font-size: Medium;\"><strong>About Us<\/strong><\/span><br \/>\n<a href=\"https:\/\/www.greytrix.com\/\">Greytrix<\/a>\u00a0as a Salesforce Product development partner offers a wide variety of integration products and services to the end users as well as to the Partners across the globe. We offers Consultation, Configuration, Training and support services in out-of-the-box functionality as well as customizations to incorporate custom business rules and functionalities that requires apex code incorporation into the Salesforce platform.<\/p>\n<p><a href=\"https:\/\/www.greytrix.com\/\">Greytrix<\/a>\u00a0has some unique solutions for Cloud CRM such as Salesforce integration with\u00a0<a href=\"https:\/\/www.greytrix.com\/product\/sage-x3\/gumu-x3-salesforce-integration\">Sage Enterprise Management (Sage X3<\/a>),\u00a0Sage Intacct, <a href=\"https:\/\/www.greytrix.com\/product\/sage-100-erp\/gumu-100-salesforce-integration\">Sage 100\u00a0<\/a>and\u00a0<a href=\"https:\/\/www.greytrix.com\/product\/sage-300-erp\/gumu-300-salesforce-integration\">Sage 300 (Sage Accpac)<\/a>. We also offer best-in-class Cloud CRM\u00a0<a href=\"https:\/\/www.greytrix.com\/product\/crm-development\/salesforce-com\">Salesforce customization and development services<\/a> along with services such as Salesforce <a href=\"https:\/\/www.greytrix.com\/product\/professional-services\/data-migration-services\">Data Migration<\/a>, <a href=\"https:\/\/www.greytrix.com\/product\/professional-services\/integrated-application-development\">Integrated App development<\/a>, <a href=\"https:\/\/www.greytrix.com\/product\/professional-services\/custom-development\">Custom App development<\/a> and <a href=\"https:\/\/www.greytrix.com\/product\/professional-services\/maintenance-support\">Technical Support<\/a> to business partners and end users.<\/p>\n<p>Greytrix GUMU&#x2122; integration for Sage ERP \u2013 Salesforce is a 5-star app listed on <a href=\"https:\/\/appexchange.salesforce.com\/listingDetail?listingId=a0N30000000psM5EAI\" target=\"_blank\" rel=\"noopener\">Salesforce AppExchange<\/a>.<\/p>\n<p>For more information, please contact us at\u00a0<a href=\"mailto:salesforce@greytrix.com\">salesforce@greytrix.com<\/a>. We will be glad to assist you.<\/p>\n<p><strong>Related Posts<\/strong><\/p>\n<ul>\n<li><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/2015\/07\/30\/dynamic-tab-creation-using-apex\/\" target=\"_blank\" rel=\"noopener noreferrer\">Dynamic Tab creation using Apex<\/a><\/li>\n<li><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/2015\/07\/27\/salesforce-administrators-can-now-login-as-any-user-in-salesforce\/\" target=\"_blank\" rel=\"noopener noreferrer\">Salesforce Administrators can now login as any user in Salesforce<\/a><\/li>\n<li><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/2015\/06\/18\/choose-the-logout-page-for-salesforce-users\/\" target=\"_blank\" rel=\"noopener noreferrer\">Choose the Logout Page for Salesforce Users<\/a><\/li>\n<li><a title=\"Create or Edit Records Owned by Inactive Users\" href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/2015\/05\/30\/create-or-edit-records-owned-by-inactive-users\/\" target=\"_blank\" rel=\"noopener noreferrer\">Create or Edit Records Owned by Inactive Users<\/a><\/li>\n<li><a title=\"Convert Leads on the fly\" href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/2015\/05\/27\/convert-leads-on-the-fly\/\" target=\"_blank\" rel=\"noopener noreferrer\">Convert Leads on the fly<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Salesforce Deployment is nothing but copying\/transferring Salesforce metadata from one Salesforce organization to another.\u00a0There are various methods to achieve Salesforce metadata deployment. Different Deployment Methods Change Sets Eclipse with Force.com IDE ( Deprecated) Force.com Migration Tool \u2013 ANT\/Java based Salesforce Package VSCode Salesforce Extension Pack Salesforce Code Builder Change Sets The easiest way to send\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.greytrix.com\/blogs\/salesforce\/2015\/07\/30\/different-deployment-methods-in-salesforce\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[12,41,91,848,136,849,850,851,853,748],"class_list":["post-1156","post","type-post","status-publish","format-standard","hentry","category-salesforce-srv","tag-ant","tag-change-sets","tag-deployment","tag-deployment-connections","tag-force-com-ide","tag-inbound-changeset","tag-outbound-change-sets","tag-salesforce-code-builder","tag-salesforce-extension-pack","tag-vs-code"],"_links":{"self":[{"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/posts\/1156","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/comments?post=1156"}],"version-history":[{"count":9,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/posts\/1156\/revisions"}],"predecessor-version":[{"id":10991,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/posts\/1156\/revisions\/10991"}],"wp:attachment":[{"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/media?parent=1156"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/categories?post=1156"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/salesforce\/wp-json\/wp\/v2\/tags?post=1156"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}