Query Element (AlertTemplates)

Applies to: SharePoint Foundation 2010

Specifies a query for the alert template filter. Define the query element inside the filter by using Collaborative Application Markup Language (CAML). For more information about CAML query schema, see Query Schema. The Query element in the Alerts schema contains no Where element.

<Query>
  <GroupBy>
    ...
    </GroupBy>
  <OrderBy>
    ...
    </OrderBy>
</Query>

Attributes

None

Child Elements

GroupBy

OrderBy

Parent Element

FilterDefinition

Example

For an example of how this element is used, see FilterDefinition Element (AlertTemplates).