Add-SPOListDesign
Creates a new list or document library design available to users when they create a new list or document library from site contents, certain site home pages, the SharePoint home page, the Microsoft Lists app, Microsoft Teams, or Office.com.
Syntax
Default (Default)
Add-SPOListDesign
-Title <String>
-SiteScripts <SPOSiteScriptPipeBind[]>
[-Description <String>]
[-ThumbnailUrl <String>]
[-TemplateFeatures <String[]>]
[-ListColor <SPOListDesignColor>]
[-ListIcon <SPOListDesignIcon>]
[<CommonParameters>]
Description
Creates a new list or document library design available to users when they create a new list or document library from the SharePoint home page, the Microsoft Lists app, Microsoft Teams, or Office.com.
List designs will be available in UI where lists are created, and document library designs will be available in UI where document libraries are created. The difference is based on the "templateType" of the site design used. "templateType" 100 is for Lists, "templateType" 101 is for document libraries.
Examples
Example 1
PS > Add-SPOListDesign
-Title "Contoso customer tracking"
-Description "Tracks key customer data in a list"
-SiteScripts "<ID>"
-ListColor Orange
-ListIcon BullseyeTarget
-Thumbnail "https://contoso.sharepoint.com/SiteAssets/site-thumbnail.png"
This example creates a new list or document library design.
Parameters
-Description
The display description of the list or document library design.
Parameter properties
Type: | System.String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-ListColor
Default color associated with the list when creating the list.
Parameter properties
Type: | Microsoft.Online.SharePoint.PowerShell.SPOListDesignColor |
Default value: | None |
Accepted values: | DarkRed, Red, Orange, Green, DarkGreen, Teal, Blue, NavyBlue, BluePurple, DarkBlue, Lavendar, Pink |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-ListIcon
Default icon associated with the list when creating the list.
Parameter properties
Type: | Microsoft.Online.SharePoint.PowerShell.SPOListDesignIcon |
Default value: | None |
Accepted values: | Bug, Calendar, BullseyeTarget, ClipboardList, Airplane, Rocket, Color, Insights, CubeShape, TestBeakerSolid, Robot, Savings |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-SiteScripts
An array of one or more site scripts. Each is identified by an ID. The scripts run in the order listed.
Parameter properties
Type: | Microsoft.Online.SharePoint.PowerShell.SPOSiteScriptPipeBind[] |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-TemplateFeatures
Set of features that the template comes with. It is displayed as a bulleted list when the user is looking at the template preview in the list or document library creation dialog.
Parameter properties
Type: | System.String[] |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-ThumbnailUrl
The URL of a thumbnail image. If none is specified, SharePoint uses a generic image. Recommended size is 400 x 300 pixels.
Parameter properties
Type: | System.String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Title
The display name of the list or document library design.
Parameter properties
Type: | System.String |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | True |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.