Sort class

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

Description

Defines a single sort within parent SortList in a DirectoryStyle in a DirectoryStyleList  in a BaseQuery in the GN4ShellConfiguration in a xxx_config.xml file.

Example

<SortList>

  <Sort Name="Modified">

    <SortDescription PropertyName="[article.modifiedDate]" IsAscending="false" />

    <SortDescription PropertyName="[article.name]" IsAscending="true" />

  </Sort>

  <Sort Name="Name">

    <SortDescription PropertyName="[article.name]" IsAscending="true" />

  </Sort>

  <Sort Name="Length">

    <SortDescription PropertyName="[article.bodyTextH]" IsAscending="true" />

  </Sort>

  <Sort Name="Folder">

    <SortDescription PropertyName="[article.folderRef.path]" IsAscending="true"/>

    <SortDescription PropertyName="[article.name]" IsAscending="true"/>

  </Sort>

  <Sort Name="Workstate">

    <SortDescription PropertyName="[article.folderRef.workstateRef.name]" IsAscending="true"/>

    <SortDescription PropertyName="[article.name]" IsAscending="true"/>

  </Sort>

</SortList>

Members

NameName of the sort, unique at the level of the parent SortList. This attribute is referenced by the SortName attribute of the ColStyle.
SortDescriptionDefines a single sort