Newer Version Available
Deploy Your Community with Change Sets
Use change sets to move your community between related orgs that have a deployment
connection, such as your sandbox and production orgs. Create, customize, and test your community
in your test environment and then migrate the community to production when testing is
complete.
| Available in: Salesforce Classic (not available in all orgs) and Lightning Experience |
| Available in: Enterprise, Performance, and UnlimitedEditions |
| User Permissions Needed | |
|---|---|
| To customize or publish a community: | Create and Set Up Communities |
| To edit deployment connections and use inbound change sets: | Deploy Change Sets AND Modify All Data |
| To use outbound change sets: | Create and Upload Change Sets, Create AppExchange Packages, AND Upload AppExchange Packages |
You can use change sets to move Lightning communities and Salesforce Tabs + Visualforce communities using the Network component type.
- Create and test your community in your preferred test org, such as sandbox.
- From Setup in your test org, enter Outbound Change Sets in the Quick Find box, and then select Outbound Change Sets.
- Create a change set, and click Add in the Change Set Components section.
- Select the Network component type, choose your community, and then click Add to Change Set.
-
To add dependent items, click View/Add Dependencies. We
recommend selecting all the dependencies listed.
-
Click Upload and select your target org, such as
production.
Make sure that the target org allows inbound connections. The inbound and outbound orgs must have a deployment connection.
- From Setup, select Inbound Change Sets and find the change set that you uploaded from your source org.
-
Validate and deploy the change set to make it available in the target org.
- Manually reconfigure any unsupported items in the target org community.
- Add data for your community, and test it to make sure that everything works as expected. Then publish your changes to go live.