How to Make and Use SharePoint Templates

SharePoint templates are invaluable tools for streamlining the creation of consistent and visually appealing content within the platform. So, in this SharePoint training video, we look at the versatility of SharePoint templates, exploring site, page, news post, and list templates.

The tutorial not only covers the standard templates available within SharePoint but also shows you how to leverage PowerShell to create custom site templates. This bonus method empowers users to customize their SharePoint experience further, providing a level of flexibility that goes beyond the standard templates. By the end of the video, viewers will have gained insights into the various template options available in SharePoint, as well as a practical understanding of how to harness PowerShell for crafting personalized site templates, fostering a more tailored and efficient SharePoint workspace.

Resources

Download the SharePoint Online Management Shell:
https://www.microsoft.com/en-us/download/details.aspx?id=35588

How to make list templates:
https://learn.microsoft.com/en-us/sharepoint/lists-custom-template

PowerShell commands:

1) Connect to SPOService

Connect-SPOService -url https://mysite-admin.sharepoint.com

2) Paste JSON code

$site = ' { "$schema": "https://developer.microsoft.com/json-schemas/sp/site-design-script-actions.schema.json", "actions": [ { "verb": "applyTheme", "themeName": "Contoso Theme" }, { "verb": "createSPList", "listName": "Documents", "templateType": 101 }, { "verb": "addNavLink", "displayName": "Custom Link", "url": "https://example.com" } ], "version": 1 } '

3) Add SiteScript

Add-SPOSiteScript -Title "Template Name" -Content $site

4) Add SiteDesign

Add-SPOSiteDesign -Title "Template Name" -WebTemplate "64" -SiteScripts "site-script-id"

More JSON Code:
https://learn.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-json-schema

John Gleave

John Gleave has been a researcher, content writer, and senior editor at Business Tech Planet since 2022. John was formerly a data analyst and web designer with expertise in several programming languages, such as JavaScript, JQuery, PHP, CSS, SQL, and more! With a passion for writing and technology, he has now focused his skills on crafting tech guides for BTP. You can connect with John on LinkedIn.

Recent Posts