Skip to main content
A relation links the cards of two card definitions. A source card is related to the target cards whose value of one property matches its own. Segments and destination endpoints can follow relations.

List and show

Create a relation

In a terminal, you pick both cards and the properties to match. Otherwise, pass JSON. description, tags, the display names and order are optional:
  • Both card definitions have to be Active.
  • A match property is a Text or List card property, or id for the id of the card. Both sides can’t be List.
  • Occtoo builds the links in the background. A new relation is Initializing, or Updating after a new match, until it is Active.
To see what a relation links to, use occtoo cards entries related.

Edit a relation

In a terminal, the CLI prompts for the name and description. In JSON, every field is optional, and a field you leave out stays as it is.

Delete a relation

Deletes a relation for good. It is refused while a destination endpoint or a segment uses it.