Skip to main content

Define profile consistency conditions

The Consistency conditions section supports the definition of logical conditions applied to profile elements using boolean operators.

Value dependencies can be defined on profile elements, e.g. When Element A has value X, Element B must have value Y.

Existence dependencies can be defined on profile elements, e.g. When Element A exists, Element B must not exist.

Combinations of value and existence dependencies can also be defined, e.g. When Element A has value X, Element B must not exist.

Multiple consistency conditions can be created.

To create a new consistency condition, follow this workflow logged in as a Superuser or Theme Manager:

  1. Click «Add consistency condition».
  2. Select a boolean operator from the dropdown menu.
  3. Click «+Create condition».
  4. Select the feature type you would like to reference in the condition.
  5. Click the property name to expose the available conditions. Select the condition you would like to apply from the drop down menu. It will be used as «If» statement for the condition.Select a second property and repeat the process to add a «Then» statement as second part of the condition. To view the consistency condition expression you have created, scroll to the bottom of the dialog.
  6. When you are finished, click «Confirm»
  7. In the final step, add a name and description to the consistency condition. When providing a name, make sure to avoid special characters or spaces (e.g. &, %, ?, #) and to use capitals and underscores or hyphens instead of periods, spaces or slashes. No restrictions apply for the description. To add a tagged value to the condition, click «+Add tagged value». Select a tag name from the drop down menu. Enter the value in the text box provided. Multiple tagged values for the same tag name are not possible. When you are finished, click «Create».