Give us feedback
sortrecordlist
Service icon

SortRecordList

Stable version 3.1.1 (Compatible with OutSystems 11)
Other versions available for 10 and Older
Published on 18 June 2021 by 
4.7
 (23 ratings)
sortrecordlist

SortRecordList

Documentation
3.1.1

About

SortRecordList is meant to be used when the System actions ListSort and ListDistinct are too limited. ListSort can only sort on a single attribute, and ListDistinct can only remove exact duplicates. In contrast, the SortRecordList action can sort on multiple attributes, and DistinctRecordList allows specifying the attributes to compare (instead of all attributes like ListSort).


Usage

For examples of its usage refer to the demo app. The demo app (from hereon referred to as "demo") shows a table that's sorted on several attributes:

It is possible to clone (duplicate) a computer by Clicking the Clone button. Using the "Create New Computer" button, you can enter a new computer:

For demonstrating the SortRecordList action, a number of buttons are available:

Clicking one of the buttons will order the table by the specified attribute. The last button orders the table by both the CPU and Memory attributes.

For demonstrating the DistinctRecordList action, there is one button available:

Open the demo module in Service Studio to study the way the actions are used.