SharePoint Online templates best practice and guidance

%3CLINGO-SUB%20id%3D%22lingo-sub-94503%22%20slang%3D%22en-US%22%3ESharePoint%20Online%20templates%20best%20practice%20and%20guidance%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-94503%22%20slang%3D%22en-US%22%3E%3CP%3EI'm%20wondering%20if%20anyone%20can%20point%20me%20in%20the%20direction%20of%20any%20articles%20around%20creating%20and%20managing%20templates.%20In%20particular%20I%20am%20keen%20to%20hear%20about%20your%20approach%20to%20centralising%20the%20templates%2C%20content%20types%2C%20and%20various%20assets%20(images%2C%20CSS%2C%20etc.).%20%26nbsp%3B%3C%2FP%3E%3CP%3EDo%20you%20recommend%20a%20seperate%20site%20collection%20to%20house%20these%20assets%3F%3C%2FP%3E%3CP%3EDo%20you%20make%20use%20of%20the%20content%20type%20hub%20to%20publish%20these%20out%3F%26nbsp%3B%3C%2FP%3E%3CP%3EHow%20much%20customisation%20have%20you%20done%20to%20sites%20(eg.%20team%20site)%20-%20and%20created%20your%20own%20template%20of%20it%3F%3C%2FP%3E%3CP%3EIs%20it%20best%20to%20keep%20the%20templates%20as%20vanilla%20as%20possible%20and%20then%20add%20custom%20libraries%20or%20%22apps%22%3F%26nbsp%3B%3C%2FP%3E%3CP%3Echeers!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-94503%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ESharePoint%20Online%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-94602%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20Online%20templates%20best%20practice%20and%20guidance%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-94602%22%20slang%3D%22en-US%22%3E%3CP%3ETrue%2C%20if%20you%20are%20building%20whole%20provisioning%20solution.%20One%20option%20is%20to%20create%20template%20site%20manually%2C%20export%20it%20to%20PnP%20provisioning%20template%20and%20import%20it%20to%20newly%20created%20sites%20with%20PnP%20PowerShell.%20It%20requires%20manual%20operation%2C%20and%20it's%20viable%20solution%20for%20large%20number%20of%20sites.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-94530%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20Online%20templates%20best%20practice%20and%20guidance%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-94530%22%20slang%3D%22en-US%22%3EYeap%2C%20if%20you%20are%20not%20a%20developer%20it's%20going%20to%20be%20difficult%20for%20you%20to%20get%20your%20head%20around%20PnP%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-94527%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20Online%20templates%20best%20practice%20and%20guidance%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-94527%22%20slang%3D%22en-US%22%3Ecool%2C%20thanks%20-%20is%20it%20quite%20complicated%20to%20get%20your%20head%20around%20PnP%20if%20not%20developer%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-94512%22%20slang%3D%22en-US%22%3ERe%3A%20SharePoint%20Online%20templates%20best%20practice%20and%20guidance%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-94512%22%20slang%3D%22en-US%22%3E%3CP%3EFor%20site%20templates%20you%20should%20look%20for%20SharePoint%20Patterns%20and%20Practises%20Remote%20Provisioning%20(%3CA%20href%3D%22https%3A%2F%2Fmsdn.microsoft.com%2Fen-us%2Fpnp_articles%2Fpnp-remote-provisioning%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fmsdn.microsoft.com%2Fen-us%2Fpnp_articles%2Fpnp-remote-provisioning%3C%2FA%3E).%20I%20have%20used%20PnP%20PowerShell%20to%20export%20site%20as%20a%20template%20and%20applied%20template%20to%20another%20site.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EMy%20recommendation%20is%20to%20use%20separate%20site%20collection%20for%20hosting%20assest%2C%20like%20images%2C%20CSS%20and%20JavaScript.%20I%20also%20use%20Content%20Type%20Hub%20to%20centrally%20manage%20content%20types%20and%20site%20columns.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAnd%2C%20of%20course%2C%20as%20vanilla%20as%20possible.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Deleted
Not applicable

I'm wondering if anyone can point me in the direction of any articles around creating and managing templates. In particular I am keen to hear about your approach to centralising the templates, content types, and various assets (images, CSS, etc.).  

Do you recommend a seperate site collection to house these assets?

Do you make use of the content type hub to publish these out? 

How much customisation have you done to sites (eg. team site) - and created your own template of it?

Is it best to keep the templates as vanilla as possible and then add custom libraries or "apps"? 

cheers!

4 Replies
Highlighted

For site templates you should look for SharePoint Patterns and Practises Remote Provisioning (https://msdn.microsoft.com/en-us/pnp_articles/pnp-remote-provisioning). I have used PnP PowerShell to export site as a template and applied template to another site.

 

My recommendation is to use separate site collection for hosting assest, like images, CSS and JavaScript. I also use Content Type Hub to centrally manage content types and site columns.

 

And, of course, as vanilla as possible.

Highlighted
cool, thanks - is it quite complicated to get your head around PnP if not developer?
Highlighted
Yeap, if you are not a developer it's going to be difficult for you to get your head around PnP
Highlighted

True, if you are building whole provisioning solution. One option is to create template site manually, export it to PnP provisioning template and import it to newly created sites with PnP PowerShell. It requires manual operation, and it's viable solution for large number of sites.