Export (0) Print
Expand All

contentTypeTemplate Element

Office 2007

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

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
sitexsd:stringRequiredSpecifies 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
pathxsd:stringRequiredSpecifies 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
namexsd:stringRequiredSpecifies 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
descriptionxsd:stringRequiredSpecifies 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
browserEnablexdYesNoOptionalSpecifies 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.



Community Additions

ADD
Show:
© 2014 Microsoft