OpenWGA 7.11 - TMLScript reference

FieldIndexType
Property :

sortable

On object FieldIndexType
Usage Determines if the results of a lucene query can be sorted by fields of this rule
Description Lucene queries support sorting its results by individual fields when their index type is determined as being "sortable". This property identifies if this is possible for the current index type.
Return value true if fields of this index type are usable for result sorting (Boolean)
Allowed in script types
  • WebTML pages and normal WebTML actions
  • Master actions
  • TMLScript tasks in jobs
  • Content type events