Files
twenty/packages/twenty-docs/l/tr/user-guide/data-model/how-tos/create-relation-fields.mdx
T
Félix Malfait 3dd858c91e i18n - docs translations (#16774)
Created by Github action

Pulls the latest documentation translations from Crowdin for all
supported languages:
- French (fr)
- Arabic (ar)  
- Czech (cs)
- German (de)
- Spanish (es)
- Italian (it)
- Japanese (ja)
- Korean (ko)
- Portuguese (pt)
- Romanian (ro)
- Russian (ru)
- Turkish (tr)
- Chinese (zh-CN)

---------

Co-authored-by: github-actions <github-actions@twenty.com>
2025-12-23 14:26:11 +01:00

61 lines
1.9 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: Create Relation Fields
description: Step-by-step guide to connecting objects with relation fields.
---
Relation fields connect records from different objects—for example, linking People to Companies.
<Note>
**Relation names cannot be changed after creation** (they affect the API). Plan your names carefully.
</Note>
## Başlamadan Önce
Decide:
* Which objects are you connecting? (e.g., People → Companies)
* Which is the "one" side? (e.g., Company)
* Which is the "many" side? (e.g., People — many people work at one company)
* What should the field be named on each side?
See [Relation Fields](/l/tr/user-guide/data-model/capabilities/relation-fields) for relation types explained.
## Steps
1. Go to **Settings → Data Model**
2. Select the object where you want the relation (typically the "many" side)
3. Click **+ Add Field**
4. Select **Relation** as the field type
5. Choose the **target object**
6. Select **One-to-Many** or **Many-to-One**
7. Enter field names for **both sides** of the relation
8. **Kaydet**'e tıklayın
## Example: People → Companies
* Go to **Settings → Data Model → People**
* Add a Relation field
* Target: **Companies**
* Type: **Many-to-One**
* Field on People: **Company**
* Field on Companies: **Employees**
Now each Person can be linked to a Company, and each Company shows its People.
## Deleting a Relation
1. Go to **Settings → Data Model**
2. Find the relation field
3. Click **⋮ → Deactivate**
Links are preserved but hidden. Reactivate to restore.
<Note>
**Deleting a relation doesn't delete records.** Only the link between them is removed.
</Note>
## Related
* [Relation Fields](/l/tr/user-guide/data-model/capabilities/relation-fields) — types and limitations
* [How to Import Relations](/l/tr/user-guide/data-migration/how-tos/import-relations-between-objects-via-csv) — bulk import linked records