submitAllowed Attribute (davAdapter Element)

Microsoft Office InfoPath

Show All Show All

submitAllowed Attribute (davAdapter Element)

Specifies whether the adapter can be used for submitting to the data source.

Type

xsf:xdYesNo

Parent Elements

Element Description
davAdapter Contains information needed to submit InfoPath forms to a server running Microsoft Windows SharePoint Services or to a Web-based Distributed Authoring and Versioning (WebDAV) server.

Definition

    <xsd:attribute name="submitAllowed" type="xsf:xdYesNo" use="optional"></xsd:attribute>

  

Remarks

The value of the submitAllowed attribute is always set to "yes" for the davAdapter element.

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 submitAllowed 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>