SOLVED

How can i deploy multiple page templates to other sites

Copper Contributor

Hi

 

We have a large Modern Sharepoint Community site (like a wiki), with over 65 Sites. If we create 3 / 4 Sitepage Template on one site. How can we deploy them to all other sites ?

 

See images

Thanks

Thomas

4 Replies
Templates are stored in Template folder in the 'Site Pages' library. Copying the files from this folder to another site is part of the solution. You also need to consider the web-parts and images used in the template.

This blog might help also, it uses Power Automate to copy the templates
https://mattipaukkonen.com/2019/06/14/make-your-page-templates-flow-to-other-sites-in-your-hub/
best response confirmed by VI_Migration (Silver Contributor)
Solution
Just to add to the previous reply, there is also an article from the same person with an alternavite way of doing it using PowerShell
https://mattipaukkonen.com/2020/07/02/distribute-sharepoint-page-templates-with-pnp-powershell-and-p...
Great i ll have a look thanks
Great thanks Joel
1 best response

Accepted Solutions
best response confirmed by VI_Migration (Silver Contributor)
Solution
Just to add to the previous reply, there is also an article from the same person with an alternavite way of doing it using PowerShell
https://mattipaukkonen.com/2020/07/02/distribute-sharepoint-page-templates-with-pnp-powershell-and-p...

View solution in original post