Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

davAdapter Element

Office 2007

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

ElementDescription
folderURLContains the Uniform Resource Locator (URL) of the server to which the file is submitted.
fileNameContains the name of the file as a literal string or XPath expression.

Attributes

AttributeTypeRequiredDescriptionPossible Values
name
xdTitle
YesThe 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
NoSpecifies whether the adapter can overwrite an existing file.
  • yes
  • no
xdYesNo
queryAllowed
xdYesNo
NoSpecifies 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
NoSpecifies 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>


Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.