Sep 20, 2022 12:00 AM

Create a list template from your pre-configured list with list formatting definitions

External YouTube Channel

Do you have a carefully crafted formatted list you want to replicate across the org? In this 7-minute developer-focused demo Chris Kent shows you how to create a custom list template using 3 PowerShell commands.

Adds all formatting – list and gallery views to template. Task prerequsites – SharePoint Online PowerShell and Global or SharePoint Admin role. Template creation. Fine-tune your list in the UI, then extract to Site Script (Get-SPOSiteScript), register Site Script (Add-SPOSiteScript), Upload a thumbnail, and register list design (Add-SPOListDesign). This PnP Community demo is taken from the Microsoft 365 & Power Platform Development Community call recorded on August 18, 2022.

Demo Presenter - Chris Kent (DMI) | @theChrisKent

Supporting materials

Icons - Flicon.io

https://flicon.io/

Repo - Farrier Community-tooling

https://github.com/pnp/community-tooling

Samples - SharePoint List Formatting Samples

https://github.com/pnp/List-Formatting