Share via


Query Element (Work Item Methodology Schema)

Specifies the name of the query and the path of the .wiq file.

Schema Hierarchy

QUERIES Element (Work Item Methodology Schema)

    Query Element (Work Item Methodology Schema)

<xs:element name="Query" type="QueryReference" minOccurs="1" maxOccurs="unbounded" />

Attributes and Elements

The following sections describe attributes, child elements, and parent elements.

Attributes

Attribute

Description

name

Required QueryReference attribute.

The name of the query. This name must match the name that is defined in the work item query file. For more information, see How to: Add a Query to a Process Template.

fileName

Required QueryReference attribute.

Contains the path of the work item query file.

Child Elements

None.

Parent Elements

Element

Description

QUERIES Element (Work Item Methodology Schema)

Required element.

Specifies which query definition files to use to create default queries.

Remarks

Query is a required child element of QUERIES.

minOccurs="1"

maxOccurs="unbounded"

Example

<Query name="query name" fileName="WorkItem Tracking\Queries\QueryFileName.wiq" />

Element Information

Namespace

Empty

Schema Name

Work Item Methodology

Validation File

WorkItemMethodology.xsd

Element Type

QueryReference Complex Type (Work Item Methodology Schema)

Can be Empty

No

See Also

Other Resources

Work Item Methodology Schema