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.
PSST, HEY, YOU
(YEAH, YOU!)
Want in on insightful videos, the latest tech developments, and epic exclusive content? Get all this and more as a member of our mailing list.
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