Share via


contentType Element

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

Usage

  
<contentType
	path="xsd:string"
	sharepointContentTypeId="xsd:string"
/>

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
path xsd:string Required Specifies the URL of the content template type that was last used to publish the form template.

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
sharepointContentTypeId xsd:string Required Specifies the ID of the Windows SharePoint Services content type with which the Document Information Panel template is associated.

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

Remarks

This element is updated when the form template is published to a SharePoint content type.

Definition

  
<xsd:element name="contentType">
   <xsd:complexType>
      <xsd:sequence />
      <xsd:attribute name="path" type="xsd:string" use="required" />
      <xsd:attribute name="sharepointContentTypeId" type="xsd:string" use="required" />
      <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.