Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Aggregations Element (List)

Last modified: May 30, 2008

Applies to: SharePoint Foundation 2010

In this article
Child Elements
Parent Elements

Contains field references for totals columns or calculated columns — in other words, for fields to which a function is applied.

  Value = "Text">
  <FieldRef />




Optional Text. Set On to specify that total rows are enabled for the datasheet view; otherwise, do not specify this attribute.

Minimum: 0

Maximum: 1

The following example uses the Aggregations element to contain references for a totals column and a calculated column in a datasheet view. The first reference specifies that the Count function is applied to the Title column; the second reference specifies that the Sum function is applied to the Number column.

   <Aggregations Value="On">
      <FieldRef Name="Title" Type="Count">
      <FieldRef Name="Number" Type="Sum">
© 2015 Microsoft