Creates a value of type SortInfo for use with grids and record queries.
a!sortInfo( field, ascending )
recordType!
domain to reference a record field. For example, recordType!Case.fields.caseName
. When sorting data from a data store entity, use the field name in quotations. For example, "department"
.false
, which means descending.SortInfo
You can copy and paste these examples into the Expression Rule Designer to see how this works.
1
2
3
4
=a!sortInfo(
field: "name",
ascending: true()
)
returns
[field=name, ascending=true]
a!pagingInfo(): Use the a!sortInfo()
function to create a value for the sort
parameter of this function.
SortInfo: This is the data type the a!sortInfo()
function returns.
Read-Only Grid: Use the a!sortInfo()
function to sort the data for a grid component on an interface.
a!queryRecordtype: Use the a!sortInfo()
function to sort the data queried from a record type.