overwriteAllowed Attribute

Microsoft Office InfoPath

Show All Show All

overwriteAllowed Attribute

Specifies whether the adapter can overwrite an existing file.

Type

xsf:xdYesNo

Parent Elements

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

Definition

    <xsd:attribute name="overwriteAllowed" type="xsf:xdYesNo" use="optional" ></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 overwriteAllowed 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>