Export (0) Print
Expand All
1 out of 1 rated this helpful - Rate this topic

Aggregations Element (View)

Windows SharePoint Services 3

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


<Aggregations
  Value = "Text">
  <FieldRef />
  ...
</Aggregations>
Attribute Description

Value

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.

<View>
   ...
   <Aggregations Value="On">
      <FieldRef Name="Title" Type="Count">
      <FieldRef Name="Number" Type="Sum">
   </Aggregations>
</View>
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.