This documentation is archived and is not being maintained.

queryAllowed Attribute (emailAdapter Element)

Office 2007

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

Type

xsf:xdYesNo

Parent Elements

ElementDescription
emailAdapterContains the information to submit an InfoPath file as an attachment to an e-mail message, with a specified set of recipients, a subject, and an introduction.

Definition

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

Remarks

The queryAllowed attribute is generally omitted for the emailAdapter element, corresponding to a default value of "no".

Example

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

<xsf:emailAdapter name="Submit" submitAllowed="yes" queryAllowed="no">
 <xsf:to value="someone@example.com" valueType="literal"/>
 <xsf:cc value="my:ccNames" valueType="expression"/>
 <xsf:bcc value="someoneelse@example.com" valueType="literal"/>
 <xsf:subject value="My report" valueType="literal"/>
 <xsf:intro value="See below"/>
 <xsf:attachmentFileName value="Status Report" valueType="literal"/>
</xsf:emailAdapter>


Show: