WebTemplateIdDefinition simpleType

(SharePoint 外接程序清单)

适用范围:SharePoint 外接程序|SharePoint Foundation 2013 |SharePoint Server 2013

定义外接程序 Web 功能中 Web 模板的 ID。

注意

该字符串 app 显示为某些元素、属性和文件名的一部分或全部,因为 SharePoint 外接程序最初称为“SharePoint 应用程序”。为确保向后兼容性,架构尚未更改。

此类型是 格式 {hyphenated_GUID}#web_template_name的字符串。 hyphenated_GUID是外接程序 Web 功能的 GUID,它包含定义外接程序 Web 的网站类型的 Web 模板 (Web 模板) 。 (是 web_template_nameWebTemplate 元素的 Name 属性的值, (Web 模板) 请注意,大括号 "{}""#" 是必需的。)

示例如下:

    <WebTemplate Id="{81dd4ae5-873b-4759-9838-4ad9c3dd2952}#MyNewSiteType" />

类型信息

资源 文件
基类型 xs:string
命名空间 http://schemas.microsoft.com/sharepoint/2012/app/manifest
架构文件 appmanifest.xsd

定义

    <xs:simpleType  name="WebTemplateIdDefinition">
        <xs:restriction base="xs:string">
           <xs:minLength value="1"/>
           <xs:maxLength value="128"/>
        </xs:restriction>
    </xs:simpleType>