> ## Documentation Index
> Fetch the complete documentation index at: https://docs.plato.ae/llms.txt
> Use this file to discover all available pages before exploring further.

# Relations

> Connect CMS entries to other CMS databases or supported system tables.

<img src="https://mintcdn.com/platoae/qNwZzvSrzTHhpM3n/images/cms/add-field-picker.png?fit=max&auto=format&n=qNwZzvSrzTHhpM3n&q=85&s=1e065d3de2e7e3fd89654110166452a5" alt="CMS relation field options" width="1280" height="720" data-path="images/cms/add-field-picker.png" />

Relation fields connect one CMS entry to another record.

Use relations when content should reference shared records instead of duplicating values.

## Relation Types

CMS supports:

* `Many to One` for one selected related entry.
* `One to Many` for multiple selected related entries.
* `Many to Many` for multiple bidirectional-style links.

The entry form shows a searchable picker for relation fields.

## Choose A Related Table

In the relation field's `Field` tab, choose the related table.

The target can be another CMS database or a supported system table.

## Display Related Entries Clearly

Set `Display Field` when one field is enough for the relation picker.

Set `Display Template` when editors need more context. Templates use field keys, such as:

```text theme={null}
{{title}} - {{sku}}
```

Good relation labels help editors choose the correct entry quickly.

## Delete Behavior

The relation field includes an `On Delete` setting:

* `Set Null` clears the relation when the target is deleted.
* `Cascade` removes dependent records with the target.
* `Restrict` blocks deletion while a relation exists.

Choose the safest option for the content model. When unsure, use `Set Null` or `Restrict`.

## Common Uses

Use relation fields for:

* Locations assigned to a region.
* Team members assigned to a department.
* Products linked to a collection.
* Blog posts linked to authors.
* Service pages linked to service categories.
