Restrictions

This help page explains restrictions between properties in plusmeta.

customizations extended

Content of this topic

Restrictions are special Relations between properties. They restrict the assignment of metadata and metadata values depending on assigned values.

There are two types of restrictions:

  • Property restriction: If a certain metadata value is set, only a subset of metadata can be used.
  • Object restriction: Only a subset of metadata can be used for selected object types.

Define property restriction

In this example, the metadata action can only be assigned if an object has the topic type task.

The restriction is configured at the metadata Action.

  1. Open the properties view and search for the metadata action .
  2. Click the button for the Action metadata to open the Edit properties dialog.
    The Edit properties dialogue opens.
  3. Open the Relations tab.
  4. Click the Add button.
  5. In the Relation field, select the dependent on property relation from the drop-down list.
  6. Select has topic type as the target of the relationship.
  7. Repeat step 4 and add the relationship dependent on property value .
  8. Select Task (generic) as the relation target.
  9. Close the Edit properties dialogue. All your changes will be saved automatically. The metadata has a restriction on the property (Data type = Relation) has topic type. The metadata is dependent on the property value Task (generic).
The dialog Edit property
Defining a property restriction.

Define object restriction

The metadata Topic type cannot be meaningfully assigned to all object types, e.g. for documents. It should therefore only be available for topics. Topics have the object type Content component in plusmeta.

  1. Open the Relations tab of the metadata Topic type.
  2. Click the Add button.
  3. In the Relation field, select the restricted to object type relation from the drop-down list.
  4. Select Content component as the target of the relationship. The topic type can now only be assigned to content components.
The dialog Edit property
Defining an object restriction.

{"de"=>"Erste Schritte", "en"=>"First Steps"}
{"de"=>"Grundlagen", "en"=>"Basics"}
{"de"=>"Aufbau", "en"=>"Structure"}
{"de"=>"Workflows & Projekte", "en"=>"Workflows & Projects"}
{"de"=>"Metadaten prüfen und vergeben", "en"=>"Assign and approve metadata"}
{"de"=>"Erweitert", "en"=>"Extended"}