SOLVED

How can i deploy multiple page templates to other sites

%3CLINGO-SUB%20id%3D%22lingo-sub-2662799%22%20slang%3D%22en-US%22%3EHow%20can%20i%20deploy%20multiple%20page%20templates%20to%20other%20sites%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2662799%22%20slang%3D%22en-US%22%3E%3CP%3EHi%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20have%20a%20large%20Modern%20Sharepoint%20Community%20site%20(like%20a%20wiki)%2C%20with%20over%2065%20Sites.%20If%20we%20create%203%20%2F%204%20Sitepage%20Template%20on%20one%20site.%20How%20can%20we%20deploy%20them%20to%20all%20other%20sites%20%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESee%20images%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3CP%3EThomas%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional 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 Juan Carlos González Martín (MVP)
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