条件要素 condition--element

コンテンツモデル content-model-2

条件:==EMPTY

属性 attributes-2

  • @boolOperator (文字列)
  • @enabledIf (文字列)
  • @expr (文字列)

parents-2

<sysfilter>

children-2

なし

説明 description-2

この要素では、フィルタリング条件を定義できます。

用途と使用状況 use-and-context-of-use-2

1つの<sysfiler>要素に複数のフィルター条件を含めることができます。

属性の説明 attribute-description-2

  • boolOperator (string):同じ<sysfilter>要素内で複数の<conditions>が定義されている場合、この属性を使用すると、それらを組み合わせることができます。 デフォルトでは、論理リンクは<condition>要素の間にある「AND」です。 「@boolOperator」属性を使用すると、「OR」と「AND」タイプのリンクを組み合わせることができます。
  • enabledIf (文字列):条件のアクティベーション テスト。
  • expr (文字列): XTK式。

examples-2

<sysfilter>
  <condition enabledIf="hasNamedRight('admin')=false" expr="@city=[currentOperator/location/@city]" />
</sysfilter>
recommendation-more-help
campaign-classic-help