Forum Discussion
Clone SharePoint Site
I have to create a couple of SharePoint Sites for different groups but want them to all look the same. Will saving a site as a template allow me to clone the site for multiple creations? This is for SharePoint Online btw.
Good to know. Did some Googling and found this useful video:
https://channel9.msdn.com/blogs/OfficeDevPnP/PnP-Provisioning-Engine-Introducing-PnP-file-type-for-template-handling
And some other useful links:
http://nickvandenheuvel.eu/tag/site-provisioning/
http://www.erwinmcm.com/getting-started-with-the-office-365-developer-patterns-and-practices-powershell-cmdlets/
6 Replies
- AnonymousWould not use Save Site AS template as it is also overwriting things you do not want to overwrite please use PNP instead
- Andrew GilleranIron Contributor
Good to know. Did some Googling and found this useful video:
https://channel9.msdn.com/blogs/OfficeDevPnP/PnP-Provisioning-Engine-Introducing-PnP-file-type-for-template-handling
And some other useful links:
http://nickvandenheuvel.eu/tag/site-provisioning/
http://www.erwinmcm.com/getting-started-with-the-office-365-developer-patterns-and-practices-powershell-cmdlets/- Yeap, that's the way to go....in summary: use remote provisioning pattern to deploy your sites based on a site template you have previously created and extracted once is ready
- Waqas sarwarCopper Contributor
Yes, you can use the Save as Template and create the site collections using that template. Make sure you are not using publishing feature intially as save as template not supported with it.
- My advice is not to use the save site as template...this is old school...instead, try to use PnP capabilities for this...with the PnP cmdlets shoud be enough for your requirements