Export (0) Print
Expand All
Expand Minimize

dataAdapters Element

Office 2007

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

ElementDescription
adoAdapterDefines an ActiveX Data Objects (ADO) data connection that retrieves data from an ADO data source for the specified data object.
webServiceAdapterContains information to enable InfoPath forms to be submitted to an XML Web service.
xmlFileAdapterDefines an .xml file data connection that retrieves data from an .xml file for the specified data object.
sharepointListAdapterContains the data connection information to query a SharePoint list or library.
davAdapterContains 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.
emailAdapterContains 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.
submitToHostAdapterDefines a data connection for submitting data to a hosting environment.
hwsAdapterDefines 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>


Community Additions

ADD
Show:
© 2014 Microsoft