2024 December Release

COOSYSTEM@1.1:attrsearchfilterexpr Permanent link for this heading

Filter Expression for Values Within Search

This filter is evaluated if CAM_SEARCH is passed in the parameter "mode" to the action LocalObjectsGet. Additionally the transaction variable TV_SEARCHOBJCLASSES of type OBJECT is provided to be able to specify already chosen object classes in the search filter. The transaction variable contains the chosen object class (several in case of a quick search).
This expression is examined before execution. If the expression returns OBJECT or OBJECTLIST the following values are used for the scopes:
  • ::this (global scope) ... list of objects that should be filtered. If empty expression should retrieve a meaningful default for objects that are usable as a value for the property.
  • this (local scope) ... object containing the property.
  • Use attrsearchfilterobjectexpr to validate the expression
Otherwise the expression must return BOOLEAN. In this case the following values are used for the scopes:
  • ::this (global scope) ... object containing the property.
  • this (local scope) ... object that is checked.
  • Use attrsearchfilterbooleanexpr to validate the expression

string[] COOSYSTEM@1.1:attrsearchfilterexpr readonly(inst)

Local Scope: object