name Attribute (davAdapter Element)

Microsoft Office InfoPath

Show All Show All

name Attribute (davAdapter Element)

The name of a davAdapter, used to invoke the adapter from form code.

Type

xsf:xdTitle

Parent Elements

Element Description
davAdapter Contains information to enable InfoPath files to be submitted to a server that is running Microsoft Windows SharePoint Services or a Web-based Distributed Authoring and Versioning (WebDAV) server.

Definition

    <xsd:attribute name="name" type="xsf:xdTitle" use="required" ></xsd:attribute>
  

Remarks

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 name attribute as it is used in 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>