This documentation is archived and is not being maintained.

queryAllowed Attribute (sharepointListAdapter Element)

Office 2007

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

Type

xsf:xdYesNo

Parent Elements

ElementDescription
sharepointListAdapterContains the data adapter information to query a SharePoint list or library.

Definition

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

Remarks

The queryAllowed value is always set to "yes" for the sharepointListdapter.

Example

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

<xsf:sharepointListAdapter
 name="Status Report library"
 siteUrl="http://www.contoso.com/reports/"
 sharepointGuid="{ABD2E239-0EE7-48F4-B506-C38A1728E195}"
 infopathGroup="ContosoReportsLibrary"
 queryAllowed="yes>
 <xsf:field
  sharepointName="File_x0020_Type"
  infopathName="Type"></xsf:field>
 <xsf:field
  sharepointName="xd__x007b_D00F1DBD_..."
  infopathName="Title_1"></xsf:field>
</xsf:sharepointListAdapter>


Show: