Share via


davAdapter Element

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.

Type

  xsd:complexType

Child Elements

Element Description
folderURL Contains the Uniform Resource Locator (URL) of the server to which the file is submitted.
fileName Contains the name of the file as a literal string or XPath expression.

Attributes

Attribute Type Required Description Possible Values
name
  xdTitle
Yes The name of the adapter. Used when invoking the davAdapter from code.

minLength = 1

maxLength = 255

pattern = ([^\p{Z}\p{Cc}\p{Cf}\p{Cn}])(([^\p{Zl}\p{Zp}\p{Cc}])*([^\p{Z}\p{Cc}\p{Cf}\p{Cn}]))?

  xdTitle
overwriteAllowed
  xdYesNo
No Specifies whether the adapter can overwrite an existing file.
  • yes
  • no
  xdYesNo
queryAllowed
  xdYesNo
No Specifies whether the adapter can be used for querying the data source. Omitted for the davAdapter, corresponding to a default value of "no".
  • yes
  • no
  xdYesNo
submitAllowed
  xdYesNo
No Specifies whether the adapter can be used for submitting to the data source. Always set to "yes" for the davAdapter.
  • yes
  • no
  xdYesNo

Definition

  <xsd:element name="davAdapter" >
  <xsd:complexType>
    <xsd:all>
      <xsd:element name="folderURL">
        <xsd:complexType>
          <xsd:attribute name="value" type="xsd:string" use="required"></xsd:attribute>
        </xsd:complexType>
      </xsd:element>
      <xsd:element name="fileName">
        <xsd:complexType>
          <xsd:attribute name="value" type="xsd:string" use="required"></xsd:attribute>
          <xsd:attribute name="valueType" type="xsf:xdExpressionLiteral" use="optional"></xsd:attribute>
        </xsd:complexType>
      </xsd:element>
    </xsd:all>
    <xsd:attribute name="name" type="xsf:xdTitle" use="required"></xsd:attribute>
    <xsd:attribute name="overwriteAllowed" type="xsf:xdYesNo" use="optional"></xsd:attribute>
    <xsd:attribute name="queryAllowed" type="xsf:xdYesNo" use="optional"></xsd:attribute>
    <xsd:attribute name="submitAllowed" type="xsf:xdYesNo" use="optional"></xsd:attribute>
  </xsd:complexType>
</xsd:element>

Remarks

Example

The following is an example of the davAdapter element:

  <xsf:davAdapter name="SubmitToSharePoint" overwriteAllowed="yes" submitAllowed="yes">
 <xsf:fileName value="my:myFields/my:fileName" valueType="expression"/>
 <xsf:folderURL value="http://some_server/some_doc_lib"/>
</xsf:davAdapter>