contentTypeTemplate Element

Specifies the settings that were last used to publish this form template as a SharePoint site content type.

Usage

  
<contentTypeTemplate
	site="xsd:string"
	path="xsd:string"
	name="xsd:string"
	description="xsd:string"
	browserEnable="xsf:xdYesNo"
/>

Element Information

Element type xsd:complexType
Namespace xsf2

Elements and Attributes

Parent Elements

Element Description
solutionPropertiesExtension Specifies the extended information for the solutionProperties element in the manifest.xsf whose name attribute matches the ref attribute of this element.

Child Elements

None.

Attributes

Attribute Type Required Description Possible Values
site xsd:string Required Specifies the URL of the SharePoint site where this form template was last published as a site content type.

Note   If this element or attribute is in the form definition file (.xsf), InfoPath Forms Services will ignore this setting when the form template is deployed to the server as a browser-compatible form.
String
path xsd:string Required Specifies the path to the form template (.xsn) file that was last used to publish this site content type.

Note   If this element or attribute is in the form definition file (.xsf), InfoPath Forms Services will ignore this setting when the form template is deployed to the server as a browser-compatible form.
String
name xsd:string Required Specifies the name that was last used to publish this form template as a site content type.

Note   If this element or attribute is in the form definition file (.xsf), InfoPath Forms Services will ignore this setting when the form template is deployed to the server as a browser-compatible form.
String
description xsd:string Required Specifies the description that was last used to publish this form template as a site content type.

Note   If this element or attribute is in the form definition file (.xsf), InfoPath Forms Services will ignore this setting when the form template is deployed to the server as a browser-compatible form.
String
browserEnable xdYesNo Optional Specifies whether the form template was last published as browser compatible.

Note   This element or attribute must be present and valid in the form definition file (.xsf), before InfoPath Forms Services will allow the form template to be deployed to the server as a browser-compatible form.
  • yes
  • no

Definition

  
<xsd:element name="contentTypeTemplate">
   <xsd:complexType>
      <xsd:sequence />
      <xsd:attribute name="site" type="xsd:string" use="required" />
      <xsd:attribute name="path" type="xsd:string" use="required" />
      <xsd:attribute name="name" type="xsd:string" use="required" />
      <xsd:attribute name="description" type="xsd:string" use="required" />
      <xsd:attribute name="browserEnable" type="xsf:xdYesNo" use="optional" />
      <xsd:anyAttribute processContents="skip" />
    </xsd:complexType>
</xsd:element>

Remarks

Note   If this element or attribute is in the form definition file (.xsf), InfoPath Forms Services will ignore this setting when the form template is deployed to the server as a browser-compatible form.