+ Start a Discussion
Shivraj Gangabyraiah 19Shivraj Gangabyraiah 19 

Napili Community Template Deployment

Hi All, We have our project built on communties Napili template. We need to migrate this to another Sandbox.
We have tried the following steps but the template is not updated.

We have deployed Site also through Change set. Let us know how can we get all configurations migrated from one sandbox to another. All Apex, Classes,Lightning Components have been migrated.

NagendraNagendra (Salesforce Developers) 
Hi Shivraj,

May I suggest you please try with below deployment method.

Step 1: Use change sets to move all custom lightning components you are referencing in the community from the sandbox to production, as well as any metadata that you set up outside of the Community Builder (welcome email templates, workflow rules, profiles, permission sets, etc). If you skip this step, it will still allow you to deploy the community and will appear to be successful, but you will see an internal server error in the Community Builder and will not be able to make any updates until you have moved the missing components into production. I highly recommend creating a deployment template and filling it in as you build your community to ensure nothing is forgotten at the time of deployment; it is an important part of our methodology at Perficient and ensures smooth deployments.Export This Site in Site.com Studio.

Step 2: From your sandbox, navigate to the Site.com Studio and locate the toolbar. Click the arrow next to the widget icon and select to ‘Export This Site’ from the sandbox. Then go into production and create a new community, selecting the same version of the template; going from a Spring ’16 Napili template in sandbox and moving Winter ’16 production environment will not work. You need to go from Winter’ 16 in sandbox to Winter ’16 in production. All customization performed inside the Community Builder will move over.

Step 3: Go to the Community Management console and update your administrative settings, topics, moderation criteria, etc. as these do not carry over automatically.

Please let us know if this helps.

Best Regards,
Shivraj Gangabyraiah 19Shivraj Gangabyraiah 19
Hi Nagendra,

Yes we have followed the above steps and all components related to community has been migrated. Post the Site.com Import we are not receiving any error and old template is still displayed.

Praful GadgePraful Gadge
Hi Nagendra,

Does the step 1 required?
Do we need to deploy components and other artifacts, even if we export/import community using site.com studio?