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
Vishwas B NVishwas B N 

How to deploy Salesforce community

Hi Team,

Can you please help me on basics of deploying Salesforce Community using below tool:

1. Changeset
2. Ant migration tool

Best Answer chosen by Vishwas B N
ANUTEJANUTEJ (Salesforce Developers) 
Hi Vishwas,

As you have mentioned the deployment of communities  can be done using ant or changesets, below articles are for the same:

>> Via Ant:

http://iandrosov.github.io/Community-ANT-Deployment/

Via Ant you will have to first get the XML file from source org and deploy it to the target org, the detailed steps are mentioned in the above article

>> Via ChangeSets:

https://blogs.perficient.com/2018/05/10/deploying-a-salesforce-community-with-change-sets/#:~:text=In%20your%20sandbox%2C%20go%20to,to%20create%20new%20change%20set.&text=In%20the%20dropdown%2C%20select%20%E2%80%9CNetwork,%E2%80%9CAdd%20To%20Change%20Set%E2%80%9D.

Via changeSets you will have to create outbound changesets in source org and deploy them and in production, org go to inbound changesets and locate the changeset you just deployed. The steps are mentioned in the above article.

Let me know if it helps you and close your query by marking it as solved so that it can help others in the future.  

Thanks.

All Answers

ANUTEJANUTEJ (Salesforce Developers) 
Hi Vishwas,

As you have mentioned the deployment of communities  can be done using ant or changesets, below articles are for the same:

>> Via Ant:

http://iandrosov.github.io/Community-ANT-Deployment/

Via Ant you will have to first get the XML file from source org and deploy it to the target org, the detailed steps are mentioned in the above article

>> Via ChangeSets:

https://blogs.perficient.com/2018/05/10/deploying-a-salesforce-community-with-change-sets/#:~:text=In%20your%20sandbox%2C%20go%20to,to%20create%20new%20change%20set.&text=In%20the%20dropdown%2C%20select%20%E2%80%9CNetwork,%E2%80%9CAdd%20To%20Change%20Set%E2%80%9D.

Via changeSets you will have to create outbound changesets in source org and deploy them and in production, org go to inbound changesets and locate the changeset you just deployed. The steps are mentioned in the above article.

Let me know if it helps you and close your query by marking it as solved so that it can help others in the future.  

Thanks.
This was selected as the best answer
Vishwas B NVishwas B N
Thank you ANUTEJ for detailed Information.