Share via


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
adoAdapter Defines an ActiveX Data Objects (ADO) data connection that retrieves data from an ADO data source for the specified data object.
webServiceAdapter Contains information to enable InfoPath forms to be submitted to an XML Web service.
xmlFileAdapter Defines an .xml file data connection that retrieves data from an .xml file for the specified data object.
sharepointListAdapter Contains the data connection information to query a SharePoint list or library.
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.
submitToHostAdapter Defines a data connection for submitting data to a hosting environment.
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:adoAdapter" />
         <xsd:element ref="xsf:webServiceAdapter" />
         <xsd:element ref="xsf:xmlFileAdapter" />
         <xsd:element ref="xsf:sharepointListAdapter" />
         <xsd:element ref="xsf:davAdapter" />
         <xsd:element ref="xsf:emailAdapter" />
         <xsd:element ref="xsf:submitToHostAdapter" />
         <xsd:element ref="xsf:hwsAdapter" />
      </xsd:choice>
   </xsd:complexType>
</xsd:element>

Remarks

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

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>