condition element

Last update: 2023-08-01

Content model

condition:==EMPTY

Attributes

  • @boolOperator (string)
  • @enabledIf (string)
  • @expr (string)

Parents

<sysfilter>

Children

None

Description

This element lets you define a filtering condition.

Use and context of use

One <sysfiler> element can contain several filtering conditions.

Attribute description

  • boolOperator (string): if several <conditions> are defined within the same <sysfilter> element, this attribute lets you combine them. By default, the logical link is between <condition> elements is “AND”. The “@boolOperator” attribute lets you combine “OR” and “AND” type links.
  • enabledIf (string): condition activation test.
  • expr (string): an XTK expression.

Examples

<sysfilter>
  <condition enabledIf="hasNamedRight('admin')=false" expr="@city=[currentOperator/location/@city]" />
</sysfilter>

On this page