Set-SPOSiteDesign
更新先前上傳的網站設計。
Syntax
Set-SPOSiteDesign
[-Identity <SPOSiteDesignPipeBind>]
[-Title <string>]
[-WebTemplate <string>]
[-SiteScripts <SPOSiteScriptPipeBind[]>]
[-Description <string>]
[-ThumbnailUrl <string>]
[-PreviewImageUrl <string>]
[-PreviewImageAltText <string>]
[-IsDefault]
[<CommonParameters>]
Description
更新先前上傳的網站設計。
範例
範例 1
此範例會更新先前建立的網站設計。
Set-SPOSiteDesign `
-Identity 44252d09-62c4-4913-9eb0-a2a8b8d7f863 `
-Title "Contoso customer tracking - version 2" `
-WebTemplate "68" `
-Description "Updated site design for list schema that tracks key customer data in a list" `
-ThumbnailUrl "https://contoso.sharepoint.com/SiteAssets/site-thumbnail.png" `
-PreviewImageUrl "https://contoso.sharepoint.com/SiteAssets/site-preview.png" `
-PreviewImageAltText "site preview - version 2"
參數
-Description
網站設計的顯示描述。
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-Identity
網站設計識別碼。
Type: | SPOSiteDesignPipeBind |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-IsDefault
參數,如果提供的話,會將網站設計套用至預設網站範本。 如需詳細資訊,請參閱 自訂預設網站設計。
Type: | SwitchParameter |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-PreviewImageAltText
協助工具影像的替代文字描述。
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-PreviewImageUrl
預覽影像的 URL。 如果未指定任何專案,SharePoint 會使用泛型映射。
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-SiteScripts
一或多個網站腳本的陣列。 每個都會以識別碼來識別。 腳本會依照列出的循序執行。
Type: | SPOSiteScriptPipeBind[] |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-ThumbnailUrl
縮圖影像的 URL。 如果未指定任何專案,SharePoint 會使用泛型映射。 建議的大小為 400 x 300 圖元。
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-Title
網站設計的顯示名稱。
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |
-WebTemplate
識別要加入設計的基底範本。 使用 Team 網站範本的值 64 ,以及通訊網站範本的值 68 。
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |