SharePoint Online List Templates

How to create SharePoint Document Libraries and List with Site Scripts and Site Designs.

Connect-SPOServer -url [SPO_ADMIN_URL]
$TemplateJSON = Get-SPOSiteScriptFromList -ListUrl [LIST_URL]
$TemplateSiteScript = Add-SPOSiteScript -Title "[TITLE]" -Content $TemplateJSON
$TemplateSiteDesign = Add-SPOListDesign -Title "[TITLE]" -SiteScripts $TemplateSiteScript.Id -ListColor Blue -ThumbnailUrl "[THUMBNAIL_FULL_URL]"

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *