dataAdapters Element

Microsoft Office InfoPath

Show All Show All

dataAdapters Element

Contains information about submit adapters that are used as the main submit adapters for the form and that therefore are not declared inline within the submit element.

Type

xsd:complexType

Child Elements

Element Description
webServiceAdapter Contains information to enable InfoPath forms to be submitted to an XML Web service.
davAdapter Contains information to enable InfoPath forms to be submitted to a server running Microsoft Windows SharePoint Services or to a Web-based Distributed Authoring and Versioning (WebDAV) server.
emailAdapter Contains information to enable submission of an Infopath form as an attachment to an e-mail, with a specified set of recipients, a subject, and an introduction.
hwsAdapter Defines the Microsoft Biztalk 2004 Human Workflow Services (HWS) data adapter that is used to start or extend an activity flow and respond to a task.

Attributes

None.

Definition

    <xsd:element name="dataAdapters">
  <xsd:complexType>
    <xsd:choice minOccurs="0" maxOccurs="unbounded">
      <xsd:element ref="xsf:webServiceAdapter"/>
      <xsd:element ref="xsf:davAdapter"/>
      <xsd:element ref="xsf:emailAdapter"/>
      <xsd:element ref="xsf:hwsAdapter"/>
    </xsd:choice>
  </xsd:complexType>
</xsd:element>

  

Remarks

The dataAdapters element is an optional element of the xDocumentClass element.

Note  This item is not supported when the Disable Service Pack features option on the Advanced tab of the Options dialog box in InfoPath is selected or when Microsoft Office 2003 Editions Service Pack 1 or later is not installed. Any form defined by a form definition file (.xsf) that includes this item cannot be opened in InfoPath when service pack features are disabled or unavailable.

Example

The following is an example of the dataAdapters element:

    <xsf:dataAdapters>
  <xsf:webServiceAdapter name="submit 2" ... submitAllowed="yes">
      ...
  </xsf:webServiceAdapter>
   <xsf:emailAdapter name="submit 4" … submitAllowed="yes"/> 
</xsf:dataAdapters>