Export (0) Print
Expand All

contentType Element

Office 2007

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

ElementDescription
solutionPropertiesExtensionSpecifies 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

AttributeTypeRequiredDescriptionPossible Values
pathxsd:stringRequiredSpecifies 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
sharepointContentTypeIdxsd:stringRequiredSpecifies 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.



Community Additions

ADD
Show:
© 2014 Microsoft