Set-SPOSiteDesign
汇报以前上传的网站设计。
语法
Set-SPOSiteDesign
[-Identity <SPOSiteDesignPipeBind>]
[-Title <string>]
[-WebTemplate <string>]
[-SiteScripts <SPOSiteScriptPipeBind[]>]
[-Description <string>]
[-ThumbnailUrl <string>]
[-PreviewImageUrl <string>]
[-PreviewImageAltText <string>]
[-IsDefault]
[<CommonParameters>]
说明
汇报以前上传的网站设计。
示例
示例 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
网站设计 ID。
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
包含一个或多个网站脚本的数组。 每个脚本都由 ID 标识。 脚本按列表中的顺序运行。
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
指明要将设计添加到的基模板。 若要添加到团队网站模板,请使用值 64;若要添加到通信网站模板,请使用值 68。
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Applies to: | SharePoint Online |