Export (0) Print
Expand All

WebTemplateIdDefinition simpleType (SharePoint App Manifest)

SharePoint 2013

Defines the ID of a web template in an app web Feature

Last modified: January 08, 2013

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

This type is a string of the form {hyphenated_GUID}#web_template_name. The hyphenated_GUID is the GUID of the app web Feature that contains the WebTemplate Element (Web Template) that defines the site type of the app web. (The web_template_name is the value of the Name attribute of that WebTemplate Element (Web Template). Note that the braces "{}" and the "#" are mandatory.) The following is an example:

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

Base type

xs:string

Namespace

http://schemas.microsoft.com/sharepoint/2012/app/manifest

Schema file

appmanifest.xsd

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

Show:
© 2015 Microsoft