Forum Discussion
Automated Deployment from Staging to Production (SharePoint Online)
Hi All Experts,
Could you share any automated scripts or approach to make our life more easier for deployment from Staging to Production?
Currently I could only built the PowerShell script to create Site Content Type, Site columns only.
Need to manual export list template, document library template from staging and import to production.
Look & Feel, Webpart (Manual configurate).
It might take time-consuming.
The limitation of copying site template is related to small size only.
Any ideas to expedite the deployment process and reduce the painful of doing deployment?
Currently i am doing Document center template.
Thanks.
Cheers,
VTec
- Generally site pages could be skipped as site pages is already created when creating the site. I had a similar issue with an older version of PnP template with Site Assets, removed that section and it worked fine. Also I will recommend not to remove the webhooks as they add parallel processing. For an overview steps and more options, check here - https://asishpadhy.com/2018/11/09/walkthrough-of-pnp-provisioning-process-using-powershell/
6 Replies
- Are you familiar with the PnP provisioning engine? It allows you to export a complete site (or parts of your site) as a template and the use that template to provision the site or just artifacts to a new SPO environment: https://docs.microsoft.com/en-us/sharepoint/dev/solution-guidance/pnp-remote-provisioning
- WeeTeckTanIron Contributor
Yes, I familiar with PnP PowerShell to do export/import Content Type, Site Columns.
Surprisingly that PnP is able to do export site template. It's pretty a big help for me.
FYI. Get-SPOProvisioningTemplate is changed to Get-PnPProvisioningTemplate.
Another question is that PnP Provisioning able to export site collection includes all subsites, sub-subsites, doc libraries and list, content type, site columns, managed metadata, all configurations and look and feel as well?
Any limits for this PnP Provisioning regarding to size, the complexity or any customization?
Thanks.
- You will need to extract a template for each subsite and...in regards of complexity and customization, PnP provisioning is quite complete and able to deal with complex customizations