Newer Version Available
Deploy a Community from Sandbox to Production
| Available in: Salesforce Classic (not available in all orgs) and Lightning Experience |
| Available in: Enterprise, Performance, Unlimited, and Developer Editions |
-
Change sets—If you’re more comfortable working with point-and-click tools,
then change sets are your deployment friend. Change sets represent sets of customizations in
your org (or metadata components) that you can deploy to a connected org.
With change sets, you can manage your application using declarative tools. You don’t have to use a command-line interface or a version control system to meet your customization needs. You use the Setup menu to create changes in a development environment, and migrate these changes between environments as you work through the ALM steps.
Your release artifact is a set of metadata changes relative to what’s in the production org. What gets released is only metadata that has been added or changed—if it doesn’t change, it’s not in the release.
-
Metadata API—Up to speed on the Metadata API and more comfortable in the world
of code? Then use the Metadata API to deploy changes programmatically. The Metadata API lets
you retrieve, deploy, create, update, or delete customization information for your org, such as
communities, custom object definitions, and page layouts.
This option is ideal when your changes are complex, or when you need a more rigorous change management process and an audit process (or version control system) to help manage multiple work streams. Alternatively, perhaps you’re running up against limitations of what you can do using change sets. For example, you can add but not delete fields (destructive changes).
As with the change set process, the release artifact you create is a set of metadata changes relative to your production org.