Groups class

Build 1501 on 14/Nov/2017  This topic last edited on: 22/Mar/2016, at 16:30

Description

Groups defines how displayed data can be grouped in results that reference the base query, or - in other words - which options appear in the Grouping list on the commands zone on a navigator or on a content tab.

It is an optional section, and it is not present in all base queries.

In Ted4_Config.XML, Fred4_Config.xml, EdAdmin4_Config.XML, <Groups appears in the root of <BaseQuery.

    <Groups Name="Folder">

      <PropertyGroupDescription PropertyName="[article.folderRef:DescName]"/>

    </Groups>

    <Groups Name="Editor">

      <PropertyGroupDescription PropertyName="[article.modifierRef.name]"/>

    </Groups>

Members

Namename on the grouping. It has to be unique at the level of the base query.

PropertyGroupDescription members

PropertyNamefull path to the attribute, e.g. PropertyName="[article.modifierRef.name]".

Important

Grouping works only if the value of the PropertyName exists also as a displayed field - e.g. in any ColStyle of that directory style.

A typical problem may be that a ColStyle displays article.modifierRef.fullName, while PropertyName uses article.modifierRef.name: then, the grouping won't work.

See also

Modifying grouping