Conditions

API Name Description Metadata Sample

@o.t.s.c.api.configuration.condition.ActiveIf

if

If the evaluation of the element at the location matches value then the element is considered active, otherwise it is deactivated.

{
  "condition::if::target":"test",
  "condition::if::evaluationStrategy":"DEFAULT",
  "condition::if::value":"value1,value2",
  "condition::if::negate":"false"
}

@o.t.s.c.api.configuration.condition.ActiveIfs

ifs

Allows to set multiple visibility conditions on the same property.

{
  "condition::if::value::0":"value1,value2",
  "condition::if::value::1":"SELECTED",
  "condition::if::target::0":"sibling1",
  "condition::if::target::1":"../../other",
  "condition::if::negate::1":"true",
  "condition::if::negate::0":"false",
  "condition::if::evaluationStrategy::0":"DEFAULT",
  "condition::if::evaluationStrategy::1":"LENGTH"
}
Scroll to top