Configure ENTITY_NAME → RELATED_ENTITY_NAME and a collection of related records. RELATION_NAME is the logical N:1 name, FIELD_NAME the foreign-key field, COLLECTION_NAME the N:N collection, INVERSE_COLLECTION_NAME its inverse view and JOIN_TABLE_NAME the SQL join table. Replace them with your own names: these settings have different roles.
Referencing RELATED_ENTITY_NAME
Select ENTITY_NAME in Content, click Create relation → Many-to-one and set Target entity → RELATED_ENTITY_NAME. Enter Relation name → RELATION_NAME for the logical relationship and Field name → FIELD_NAME for its FK field.
Choose Required when every source record needs a reference, otherwise Optional. Set Display field to a readable target field, such as title, rather than displaying only an ID.
Review the target, requirement and label in Basic settings. Advanced settings contains physical keys and database policies. Click Finish. To edit later, open the FK field or its header badge. The field, owning relationship and selected inverse-view changes save together; do not create a second belongsTo for the same field.
An inverse list of records
Create One-to-many view in RELATED_ENTITY_NAME. Select Target entity → ENTITY_NAME, Owning relation → ENTITY_NAME.RELATION_NAME, then name the inverse collection INVERSE_COLLECTION_NAME. It displays source records whose FIELD_NAME points to the current related record, without creating another FK.
When changing the owner or target, choose Keep unchanged, Update with this relationship or Remove for inverse collections. On a move, inspect the old route that disappears. If the field or owner is missing, return to the source entity and correct the model.
A many-to-many collection
Choose Many-to-many between ENTITY_NAME and RELATED_ENTITY_NAME. In Basic, set the logical name COLLECTION_NAME, target and label field. In Advanced → Join table, enter JOIN_TABLE_NAME. sourceField and targetField mean the entities' primary keys, not join-table column names.
Choose one owner: only its form changes membership. For inverse reading, set inverseName → INVERSE_COLLECTION_NAME and inverseDisplayField, such as the source title field. RELATED_ENTITY_NAME.INVERSE_COLLECTION_NAME creates neither another owner nor another table and grants no membership-editing permission.
After Generate
Finish saves the relationship in the manifest. Generate, apply migrations and restart to use it in the application. Related records can be selected by their labels; options load asynchronously with bounded results. Related records opens inverse collections. Viewing them requires related-record read permissions, not update permissions.
An empty optional field means no relationship selected. Wait while the label loads. An unavailable-record message means the selected related record cannot be read; retry after request errors. Never replace an unknown record with an invented label.
Saving, deletion and errors
Collection editors have Basic/Advanced tabs and fixed Cancel / Delete / Finish buttons. Switching tabs retains input. A Finish validation error opens the relevant tab. Delete needs separate confirmation and does not save other edits.
The editor cannot close while saving. With unsaved changes, Cancel/close asks whether to continue editing or discard. Refresh after revision conflicts. For an unknown save result, Refresh and check before repeating Create.
See relationship models for foreign-key policies and prohibited physical changes.
Optional: CLI
Automate these actions with relationship CLI.
Complete editor reference
All parameters are in Content: relationships. See relationship models for foreign-key structure.