Share via


queryAllowed Attribute (davAdapter Element)

Specifies whether the adapter can be used for querying the data source.

Type

  xsf:xdYesNo

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

Remarks

The queryAllowed attribute is generally omitted for the davAdapter element, corresponding to a default value of "no". A value of "yes" for this attribute causes an error.

Example

The following is an example of the queryAllowed attribute as it is used in the davAdapter element:

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