Newer Version Available
Migrate 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 and Lightning Experience |
| Available in: Enterprise, Performance, Unlimited, and Developer Editions |
| 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.
- 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.
-
In your target org, create a community (if one doesn’t exist) with the same name and
template version as the community in your source org.
For Communities, you can make updates only with change sets, which means that you can’t create a community directly from an inbound change set.
- 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.