i18n - docs translations (#17434)
Created by Github action Co-authored-by: github-actions <github-actions@twenty.com>
This commit is contained in:
committed by
GitHub
parent
2353bc62cc
commit
e0d4492013
@@ -1,122 +1,124 @@
|
||||
---
|
||||
title: Fields
|
||||
description: Understand the role of fields and how to manage them.
|
||||
title: フィールド
|
||||
description: フィールドの役割とその管理方法を理解しましょう。
|
||||
---
|
||||
|
||||
import { VimeoEmbed } from '/snippets/vimeo-embed.mdx';
|
||||
|
||||
## About Fields
|
||||
## フィールドについて
|
||||
|
||||
Fields are like columns in a spreadsheet. They store different types of data like text, numbers, or dates. Fields can be standard (built-in) or custom (the ones you create).
|
||||
フィールドはスプレッドシートの列のようなものです。 テキスト、数字、日付などの異なるデータタイプを保存します。 フィールドには、標準(ビルトイン)とカスタム(ユーザー作成)があります。
|
||||
|
||||
### Standard Fields
|
||||
### 標準フィールド
|
||||
|
||||
Standard fields come built-in with Twenty to handle common business needs.
|
||||
Twenty には、一般的な業務ニーズに対応する標準フィールドがビルトインされています。
|
||||
|
||||
For example, `First Name` and `Last Name` are standard fields in the `People` object. They store text data for individual names.
|
||||
たとえば、「名」および「姓」は「人物」オブジェクトの標準フィールドです。 それらは個々の名前のテキストデータを保存します。
|
||||
|
||||
You cannot delete standard fields, but you can deactivate them if you don't need them.
|
||||
標準フィールドは削除できませんが、必要がない場合は無効化できます。
|
||||
|
||||
You can also customize the options of the standard `SELECT` type fields, for example the options for the `Stage` on Opportunities.
|
||||
標準の `SELECT` 型フィールドのオプションもカスタマイズできます。たとえば、商談の `Stage` のオプションです。
|
||||
|
||||
<img src="/images/user-guide/fields/standard-fields.png" style={{width:'100%'}} />
|
||||
|
||||
### Custom Fields
|
||||
### カスタムフィールド
|
||||
|
||||
Custom fields can be added to any object. You can store text, numbers, dates, dropdown selections, and more. Use custom fields to track information that's specific to your business.
|
||||
カスタムフィールドは任意のオブジェクトに追加できます。 テキスト、数字、日付、ドロップダウンの選択肢などを保存できます。 カスタムフィールドを使用して、ビジネスに特化した情報を追跡します。
|
||||
|
||||
For instance, a custom field for SpaceX could be `Rocket Active Status`, indicating if a rocket is operational.
|
||||
たとえば、SpaceX用のカスタムフィールドとして「ロケットの運用状況」を設定できます。これはロケットが稼働中かどうかを示します。
|
||||
|
||||
<img src="/images/user-guide/fields/custom-fields.png" style={{width:'100%'}} />
|
||||
|
||||
## Field Types
|
||||
## フィールドタイプ
|
||||
|
||||
Twenty supports various field types:
|
||||
Twenty はさまざまなフィールドタイプをサポートしています。
|
||||
|
||||
| Type | Description | Example |
|
||||
| ------------ | ----------------------------------------------------------------- | ------------------ |
|
||||
| Address | Structured address with street, city, state, country, postal code | Office Address |
|
||||
| Array | List of text values | Tags |
|
||||
| Boolean | True/false checkbox | Is Active |
|
||||
| Currency | Monetary value with currency code | Deal Amount (USD) |
|
||||
| Date | Date values | Close Date |
|
||||
| Date & Time | Date with time | Meeting Time |
|
||||
| Domain | Website domain (used for Companies) | acme.com |
|
||||
| Email | Email addresses (with primary + additional) | Contact Email |
|
||||
| JSON | Structured JSON data | Custom metadata |
|
||||
| Links | URLs with labels (primary + secondary) | Website, LinkedIn |
|
||||
| Long Text | Multi-line text | Description, Notes |
|
||||
| Multi-Select | Multiple choices from a predefined list | Tags, Categories |
|
||||
| Number | Numeric values (integers or decimals) | Quantity, Score |
|
||||
| Phone | Phone numbers with country code | Work Phone |
|
||||
| Rating | Star rating (1-5) | Priority, Score |
|
||||
| Relation | Links to records in other objects | Company → People |
|
||||
| Select | Single choice from a predefined list | Stage, Status |
|
||||
| Text | Single line of text | Name, Title |
|
||||
| タイプ | 説明 | 例 |
|
||||
| ------ | --------------------------- | ---------------- |
|
||||
| 住所 | 通り、都市、州、国、郵便番号を含む構造化された住所 | オフィス住所 |
|
||||
| Array | テキスト値のリスト | タグ |
|
||||
| ブール型 | 真偽値のチェックボックス | アクティブ |
|
||||
| 通貨 | 通貨コード付きの金額 | 商談金額(USD) |
|
||||
| 日付 | 日付の値 | 締切日 |
|
||||
| 日付と時間 | 時刻付きの日付 | ミーティング時刻 |
|
||||
| ドメイン | Web サイトのドメイン(Companies で使用) | acme.com |
|
||||
| メール | メールアドレス(主要+追加) | 連絡先メール |
|
||||
| JSON | 構造化された JSON データ | カスタムメタデータ |
|
||||
| リンク | ラベル付きの URL(主要+サブ) | Web サイト、LinkedIn |
|
||||
| 長文テキスト | 複数行テキスト | 説明、メモ |
|
||||
| マルチ選択 | あらかじめ定義されたリストから複数選択 | タグ、カテゴリ |
|
||||
| 数 | 数値(整数または小数) | 数量、スコア |
|
||||
| 電話 | 国番号付きの電話番号 | 勤務先電話 |
|
||||
| 評価 | 星評価(1〜5) | 優先度、スコア |
|
||||
| リレーション | 他のオブジェクト内のレコードへのリンク | Company → People |
|
||||
| 選択 | あらかじめ定義されたリストからの単一選択 | ステージ、ステータス |
|
||||
| テキスト | 1 行のテキスト | 名前、タイトル |
|
||||
|
||||
## Create a Custom Field
|
||||
## カスタムフィールドを作成する
|
||||
|
||||
To add a custom field to any object, follow these steps:
|
||||
任意のオブジェクトにカスタムフィールドを追加するには、次の手順に従います。
|
||||
|
||||
1. Go to `Settings` in the left sidebar.
|
||||
2. Go to `Data Model`, then select the object you wish to customize.
|
||||
3. Proceed by clicking on `Add Field`.
|
||||
4. Choose a field name and type that suits your requirements. Consider adding a field description for better understanding.
|
||||
1. 左サイドバーの「設定」に移動します。
|
||||
2. 「データモデル」に移動し、カスタマイズしたいオブジェクトを選択します。
|
||||
3.
|
||||
3. 「フィールドを追加」をクリックして続行します。
|
||||
4.
|
||||
4. 要件に合ったフィールド名とタイプを選択してください。 より良い理解のためにフィールドの説明を追加することを検討してください。 より良い理解のためにフィールドの説明を追加することを検討してください。 より良い理解のためにフィールドの説明を追加することを検討してください。
|
||||
|
||||
Your newly created field is now available within the application's fields. To display it on a specific view, click on the options menu, then select `Fields`.
|
||||
作成したフィールドはアプリケーションのフィールド内で利用できるようになります。 特定のビューに表示するには、オプションメニューをクリックして「フィールド」を選択します。 特定のビューに表示するには、オプションメニューをクリックして「フィールド」を選択します。
|
||||
|
||||
<VimeoEmbed videoId="927628219" title="Video demonstration" />
|
||||
<VimeoEmbed videoId="927628219" title="動画デモ" />
|
||||
|
||||
**Quick way:** Click the **+** button at the top right of any object table, then select `Customize fields`. This takes you directly to the Data Model settings.
|
||||
**簡単な方法:** 任意のオブジェクトテーブルの右上の **+** ボタンをクリックし、「フィールドをカスタマイズ」を選択します。 これにより、データモデルの設定に直接アクセスできます。
|
||||
|
||||
<img src="/images/user-guide/fields/quick-new-field.png" style={{width:'100%'}} />
|
||||
|
||||
## Deactivate a Field
|
||||
## フィールドを無効にする
|
||||
|
||||
You can deactivate a field to hide it from the app without losing your data. Think of it as hiding the field rather than deleting it.
|
||||
データを失わずにアプリからフィールドを隠すには、フィールドを無効にすることができます。 これはフィールドを削除するのではなく、隠すようなものです。 これはフィールドを削除するのではなく、隠すようなものです。 これはフィールドを削除するのではなく、隠すようなものです。
|
||||
|
||||
Here's how you can do it:
|
||||
以下に方法を示します。
|
||||
|
||||
1. Find the field you want to deactivate in your object settings.
|
||||
1. オブジェクト設定で無効化したいフィールドを見つけます。
|
||||
|
||||
2. Click the three dots `⋮` next to the field to open the menu.
|
||||
2. フィールドの横にある三点リーダー`⋮`をクリックしてメニューを開きます。
|
||||
|
||||
3. Select `Deactivate` from the dropdown.
|
||||
3. ドロップダウンメニューから「無効化」を選択します。
|
||||
|
||||
<img src="/images/user-guide/fields/deactivate-field.png" style={{width:'100%'}} />
|
||||
|
||||
What happens when you deactivate a field?
|
||||
フィールドを無効にするとどうなりますか?
|
||||
|
||||
1. **In the app:** The field disappears and you can't add new values to it.
|
||||
1. **アプリ内では:** フィールドが消え、新しい値を追加することができなくなります。
|
||||
|
||||
2. **Existing relationships:** If it's a relation field, existing connections stay but you can't create new ones.
|
||||
2. **既存の関係:** それがリレーションフィールドである場合、既存の接続は維持されますが、新しいものを作成することはできません。
|
||||
|
||||
3. **API access:** You can still access the field and its data through the API.
|
||||
3. **APIアクセス:** フィールドとそのデータには引き続きAPI経由でアクセスできます。
|
||||
|
||||
You can reactivate Standard and Custom Fields or have the option to permanently delete them.
|
||||
標準フィールドとカスタムフィールドを再アクティブ化することができます。また、それらを永久に削除するオプションがあります。
|
||||
|
||||
## Make Fields Unique
|
||||
## フィールドをユニークにする
|
||||
|
||||
Make a field unique to ensure distinct records cannot have the same value. For example, email addresses are unique for each person.
|
||||
異なるレコードが同じ値を持つことがないように、フィールドをユニークにします。 例えば、メールアドレスは各人物に対してユニークです。 例えば、メールアドレスは各人物に対してユニークです。 例えば、メールアドレスは各人物に対してユニークです。
|
||||
|
||||
If you get an error when setting uniqueness, check for duplicate values in your data (including deleted records).
|
||||
ユニーク性を設定する際にエラーが発生した場合、データ内の重複した値(削除されたレコードも含む)を確認してください。
|
||||
|
||||
## Field Configuration Best Practices
|
||||
## フィールド構成のベストプラクティス
|
||||
|
||||
### Naming Conventions and Limitations
|
||||
### 命名規則と制限
|
||||
|
||||
* **Singular and plural named must be distinct**: Our GraphQL API needs distinct names for mutations
|
||||
* **Protected field names**: some names are reserved for system usage (e.g., `Type`, `Application`)
|
||||
* **単数形と複数形の名前は独立している必要があります**:私たちのGraphQL APIでは、変換に際して名前の違いが必要です
|
||||
* **保護されたフィールド名**:一部の名前はシステムで使用するために予約されています(例:`Type`、`Application`)
|
||||
|
||||
### Currency and Phone Fields
|
||||
### 通貨フィールドと電話フィールド
|
||||
|
||||
* **Default currency**: can be configured via the data model
|
||||
* **Default country codes**: can be configured for phone fields via the data model
|
||||
* **デフォルト通貨**:データモデルを介して設定できます
|
||||
* **デフォルト国コード**:データモデルを介して電話フィールドに設定できます
|
||||
|
||||
### Select Fields
|
||||
### 選択フィールド
|
||||
|
||||
* **A default option can be selected** for each Select field
|
||||
* **各選択フィールドにデフォルトオプションを選択できます**
|
||||
|
||||
### Record Text Fields
|
||||
### レコードテキストフィールド
|
||||
|
||||
* **Each object has one main display field**: This field appears in the leftmost column and represents the record when linked to other objects. It must be a text field. For example, People uses `Name` as the main field, so when you link a person to a company, you'll see their name in the company's view.
|
||||
* **各オブジェクトには**1つのメイン表示フィールドがあります。このフィールドは左側の列に表示され、他のオブジェクトにリンクされたときにレコードを表します。 これはテキストフィールドである必要があります。 たとえば、Peopleは「名前」をメインフィールドとして使用しているため、人物を会社にリンクすると、会社のビューにその名前が表示されます。 これはテキストフィールドである必要があります。 たとえば、Peopleは「名前」をメインフィールドとして使用しているため、人物を会社にリンクすると、会社のビューにその名前が表示されます。 これはテキストフィールドである必要があります。 たとえば、Peopleは「名前」をメインフィールドとして使用しているため、人物を会社にリンクすると、会社のビューにその名前が表示されます。
|
||||
|
||||
@@ -1,91 +1,91 @@
|
||||
---
|
||||
title: Objects
|
||||
description: Learn about standard and custom objects in Twenty.
|
||||
title: オブジェクト
|
||||
description: Twenty の標準オブジェクトとカスタムオブジェクトについて学びます。
|
||||
---
|
||||
|
||||
import { VimeoEmbed } from '/snippets/vimeo-embed.mdx';
|
||||
|
||||
## Standard Objects
|
||||
## 標準オブジェクト
|
||||
|
||||
Standard objects are predefined entities in your workspace to help you get started. They're part of a shared data model accessible to all users of Twenty. You can use them as-is, customize them or deactivate them.
|
||||
標準オブジェクトは、作業を開始するためのワークスペースに予め定義されているエンティティです。 これらは、Twentyの全ユーザーがアクセスできる共有データモデルの一部です。 そのまま使用することも、カスタマイズすることも、無効化することもできます。
|
||||
|
||||
<img src="/images/user-guide/objects/standard-objects.png" style={{width:'100%'}} />
|
||||
|
||||
### People
|
||||
### "人"
|
||||
|
||||
The `People` object stores your contacts. It includes contact details and interaction history, so you can see all your customer interactions in one place.
|
||||
`People` オブジェクトは連絡先を保存します。 連絡先の詳細とやり取りの履歴が含まれており、すべての顧客とのやり取りを一か所で確認できます。
|
||||
|
||||
### Company
|
||||
### 会社
|
||||
|
||||
The `Companies` object stores your business accounts. It includes details like industry, size and location. Companies connect to both `People` and `Opportunities` objects.
|
||||
`Companies` オブジェクトはビジネスアカウントを保存します。 業界、規模、所在地などの詳細が含まれます。 `People` および `Opportunities` オブジェクトに接続します。
|
||||
|
||||
### Opportunities
|
||||
### 商談
|
||||
|
||||
The `Opportunities` object stores deal-related data. It tracks the progression of potential sales, from prospecting to closure, recording stages, deal sizes, associated account, and expected close date. You can view your sales pipeline in a kanban layout.
|
||||
`Opportunities` オブジェクトは、取引関連のデータを保存します。 見込み客から成約までの販売の進捗を追跡し、ステージ、取引規模、関連するアカウント、予想終了日に関する記録を残します。 カンバン形式で販売パイプラインを表示できます。
|
||||
|
||||
### Notes
|
||||
### ノート
|
||||
|
||||
The `Notes` object stores free-form notes that can be attached to People, Companies, Opportunities, and other records. Use notes to capture meeting summaries, important details, or any contextual information.
|
||||
`Notes` オブジェクトは、People、Companies、Opportunities などのレコードに添付できる自由形式のメモを保存します。 メモを使用して、会議の要約、重要な詳細、その他のコンテキスト情報を記録します。
|
||||
|
||||
### Tasks
|
||||
### タスク
|
||||
|
||||
The `Tasks` object stores to-dos and action items. Tasks can be linked to People, Companies, Opportunities, and other records. Track due dates, assignees, and completion status to stay on top of your follow-ups.
|
||||
`Tasks` オブジェクトは、To-Do やアクション項目を保存します。 タスクは、People、Companies、Opportunities などのレコードに関連付けできます。 期限、担当者、完了状況を追跡して、フォローアップを的確に管理します。
|
||||
|
||||
## Custom Objects
|
||||
## カスタムオブジェクト
|
||||
|
||||
Custom objects let you store information that's unique to your organization and that standard objects can't handle. For example, if you're SpaceX, you may want to create a custom object for Rockets and Launches.
|
||||
カスタムオブジェクトを使用すると、標準オブジェクトでは対応できない組織独自の情報を保存できます。 例えば、SpaceXであれば、ロケットや打ち上げ用にカスタムオブジェクトを作成することが考えられます。 例えば、SpaceXであれば、ロケットや打ち上げ用にカスタムオブジェクトを作成することが考えられます。 例えば、SpaceXであれば、ロケットや打ち上げ用にカスタムオブジェクトを作成することが考えられます。
|
||||
|
||||
<img src="/images/user-guide/objects/custom-objects.png" style={{width:'100%'}} />
|
||||
|
||||
### Creating a New Custom Object
|
||||
### 新しいカスタムオブジェクトの作成
|
||||
|
||||
To create a new custom object:
|
||||
新しいカスタムオブジェクトを作成するには:
|
||||
|
||||
1. Go to Settings in the sidebar on the left.
|
||||
2. Under Workspace, go to Data model. Here you'll be able to see an overview of all your existing Standard and Custom objects (both active and disabled).
|
||||
1. 左側のサイドバーの設定に移動します。
|
||||
2. ワークスペースの下で、データモデルに移動します。 ここでは、すべての既存の標準およびカスタムオブジェクト(アクティブと非アクティブの両方)の概要を確認できます。 ワークスペースの下で、データモデルに移動します。 ここでは、すべての既存の標準およびカスタムオブジェクト(アクティブと非アクティブの両方)の概要を確認できます。 ここでは、すべての既存の標準およびカスタムオブジェクト(アクティブと非アクティブの両方)の概要を確認できます。
|
||||
|
||||
<VimeoEmbed videoId="926288174" title="Video demonstration" />
|
||||
<VimeoEmbed videoId="926288174" title="デモ動画" />
|
||||
|
||||
3. Click on `+ New object` at the top. Enter the name (both singular and plural), choose an icon, and add a description for your custom object and hit Save (at the top right). Using Listing as an example of custom object, the singular would be "listing" and the plural would be "listings" along with a description like "Listings that hosts created to showcase their property."
|
||||
3. 上部の `+ 新しいオブジェクト` をクリックします。 カスタムオブジェクトの名前(単数形と複数形の両方)、アイコンを選択し、説明を追加し、[保存](右上)をクリックします。 上部の `+ 新しいオブジェクト` をクリックします。 カスタムオブジェクトの名前(単数形と複数形の両方)、アイコンを選択し、説明を追加し、[保存](右上)をクリックします。 カスタムオブジェクトの例として、Listingを使用し、単数形は "listing" 、複数形は "listings" 、説明は "ホストがプロパティを紹介するために作成したリスティング" となります。
|
||||
|
||||
4. Your custom object is now created and will appear in your sidebar. You can start adding records to it right away.
|
||||
4. カスタムオブジェクトが作成され、サイドバーに表示されます。 すぐにレコードを追加できます。
|
||||
|
||||
## Managing Objects
|
||||
## オブジェクトの管理
|
||||
|
||||
### Deactivating Objects
|
||||
### オブジェクトの無効化
|
||||
|
||||
If you don't need a standard or custom object:
|
||||
標準オブジェクトまたはカスタムオブジェクトが不要な場合:
|
||||
|
||||
1. Go to Settings → Data Model
|
||||
2. Find the object you want to deactivate
|
||||
3. Click the toggle to deactivate it
|
||||
4. The object will be hidden from your workspace but data is preserved
|
||||
1. 設定 → データモデル に移動
|
||||
2. 無効化したいオブジェクトを見つけます
|
||||
3. トグルをクリックして無効化します
|
||||
4. オブジェクトはワークスペースから非表示になりますが、データは保持されます。
|
||||
|
||||
### Reactivating Objects
|
||||
### オブジェクトの再有効化
|
||||
|
||||
To bring back a deactivated object:
|
||||
無効化したオブジェクトを再有効化するには:
|
||||
|
||||
1. Go to Settings → Data Model
|
||||
2. Look for deactivated objects (they'll be grayed out)
|
||||
3. Click the toggle to reactivate it
|
||||
4. The object and all its data will be restored
|
||||
1. 設定 → データモデル に移動
|
||||
2. 無効化されたオブジェクトを探します(グレー表示になります)。
|
||||
3. トグルをクリックして再有効化します
|
||||
4. オブジェクトとそのすべてのデータが復元されます。
|
||||
|
||||
## Best Practices
|
||||
## ベストプラクティス
|
||||
|
||||
### When to Create Custom Objects
|
||||
### カスタムオブジェクトを作成するタイミング
|
||||
|
||||
* **Unique business entities**: Things specific to your industry or process
|
||||
* **Complex relationships**: When you need to track connections between multiple entities
|
||||
* **Scalable data**: When you might have many instances of something
|
||||
* **独自のビジネスエンティティ**: 業界やプロセスに特有のもの
|
||||
* **複雑なリレーションシップ**: 複数のエンティティ間の関係を追跡する必要がある場合
|
||||
* **スケーラブルなデータ**: 多数のインスタンスが発生する可能性がある場合
|
||||
|
||||
### When to Use Fields Instead
|
||||
### 代わりにフィールドを使用するタイミング
|
||||
|
||||
* **Simple attributes**: Properties that describe existing objects
|
||||
* **Categories or labels**: Ways to classify existing records
|
||||
* **Single values**: Information that doesn't need its own lifecycle
|
||||
* **シンプルな属性**: 既存のオブジェクトを記述するプロパティ
|
||||
* **カテゴリやラベル**: 既存のレコードを分類する方法
|
||||
* **単一の値**: 独自のライフサイクルを必要としない情報
|
||||
|
||||
### Object Naming
|
||||
### オブジェクトの命名
|
||||
|
||||
* **Use clear, descriptive names**: Make it obvious what the object represents
|
||||
* **Follow conventions**: Use singular for the object name, plural for the collection
|
||||
* **Consider your team**: Choose names everyone will understand
|
||||
* **明確で説明的な名前を使う**: オブジェクトが何を表すかを一目でわかるようにする
|
||||
* **規約に従う**: オブジェクト名は単数形、コレクションは複数形を使用する
|
||||
* **チームを考慮する**: 全員が理解できる名前を選ぶ
|
||||
|
||||
@@ -1,92 +1,96 @@
|
||||
---
|
||||
title: Relation Fields
|
||||
description: Connect records across different objects using relation fields.
|
||||
title: リレーションフィールド
|
||||
description: リレーションフィールドを使用して、異なるオブジェクト間でレコードをリンクします。
|
||||
---
|
||||
|
||||
## Types of Relations
|
||||
## リレーションの種類
|
||||
|
||||
### One-to-Many
|
||||
### 1対多
|
||||
|
||||
One record in Object A can be linked to many records in Object B.
|
||||
オブジェクトAの1件のレコードは、オブジェクトBの複数のレコードにリンクできます。
|
||||
|
||||
**Example:** One Company can have many People (employees).
|
||||
**例:** 1つの会社には多数の連絡先(従業員)がいます。
|
||||
|
||||
### Many-to-One
|
||||
### 多対1
|
||||
|
||||
Many records in Object A can be linked to one record in Object B.
|
||||
オブジェクトAの複数のレコードは、オブジェクトBの1件のレコードにリンクできます。
|
||||
|
||||
**Example:** Many People can belong to one Company.
|
||||
**例:** 多数の連絡先は1社に所属できます。
|
||||
|
||||
### Relations to Multiple Object Types
|
||||
### 複数のオブジェクトタイプへのリレーション
|
||||
|
||||
Some objects can link to multiple object types on one side of the relation.
|
||||
一部のオブジェクトは、リレーションの片側で複数のオブジェクトタイプにリンクできます。
|
||||
|
||||
**Example:** A Note can be attached to one Person AND one Company AND one Opportunity simultaneously. The Note is on the "many" side, connecting to multiple "one" sides.
|
||||
**例:** メモは、連絡先1件、会社1社、商談1件に同時にリンクできます。 メモは"多"の側にあり、複数の"1"の側にリンクしています。
|
||||
|
||||
<img src="/images/user-guide/fields/many-to-one-morph.png" style={{width:'100%'}} />
|
||||
|
||||
Similarly, a Project (on the "one" side) could receive links from multiple People, multiple Companies, and multiple Notes.
|
||||
同様に、プロジェクト("1"の側)は、複数の連絡先、複数の会社、複数のメモからリンクを受け取ることができます。
|
||||
|
||||
<img src="/images/user-guide/fields/one-to-many-morph.png" style={{width:'100%'}} />
|
||||
|
||||
<Warning>
|
||||
**Import/Export limitation**: Relations pointing to multiple object types are not yet supported for CSV import/export. This is on our roadmap.
|
||||
**インポート/エクスポートの制限**: 複数のオブジェクトタイプを指すリレーションは、CSV のインポート/エクスポートにはまだ対応していません。 これはロードマップに含まれています。
|
||||
</Warning>
|
||||
|
||||
### Many-to-Many
|
||||
### 多対多
|
||||
|
||||
Many records in Object A can be linked to many records in Object B.
|
||||
オブジェクトAの複数のレコードは、オブジェクトBの複数のレコードにリンクできます。
|
||||
|
||||
**Example:** Many People can be linked to many Projects, and vice versa.
|
||||
**例:** 多数の連絡先は多数のプロジェクトにリンクでき、その逆も可能です。
|
||||
|
||||
多対多のリレーションでは、両側を接続する中間オブジェクトを用いる**ジャンクションオブジェクト**パターンを使用します。 ジャンクションリレーション機能により、Twenty は最終的にリンクされたレコードを直接表示し、中間オブジェクトを UI から隠します。
|
||||
|
||||
<img src="/images/user-guide/fields/junction-relation-diagram.png" style={{width:'100%'}} />
|
||||
|
||||
<Warning>
|
||||
**Many-to-Many is not yet supported.**
|
||||
|
||||
This relation type is planned for H1 2026. As a workaround, create an intermediate "junction" object (e.g., "Project Assignments") that has Many-to-One relations to both objects.
|
||||
**ラボ機能**: 使用前に **Settings → Updates → Lab** でジャンクションリレーションを有効化する必要があります。
|
||||
</Warning>
|
||||
|
||||
## Creating a Relation Field
|
||||
完全なステップバイステップのガイドについては、[多対多リレーションの作成方法](/l/ja/user-guide/data-model/how-tos/create-many-to-many-relations) を参照してください。
|
||||
|
||||
1. Go to **Settings → Data Model**
|
||||
2. Select the object where you want to add the relation
|
||||
3. Click **+ Add Field**
|
||||
4. Select **Relation** as the field type
|
||||
5. Choose the target object(s) to relate to
|
||||
6. Configure the relation settings:
|
||||
* **Field name on source object**: The name of the relation field on the object you're editing
|
||||
* **Field name on destination object**: The name of the relation field that will appear on the target object
|
||||
* Relation type (one-to-many, many-to-one)
|
||||
7. Click **Save**
|
||||
## リレーションフィールドの作成
|
||||
|
||||
## Standard Relations
|
||||
1. **設定 → データモデル** に移動
|
||||
2. リレーションを追加したいオブジェクトを選択します
|
||||
3. **+ Add Field** をクリック
|
||||
4. フィールドタイプとして **Relation** を選択
|
||||
5. 関連付け先のオブジェクトを選択します
|
||||
6. リレーションの設定を行います:
|
||||
* **ソースオブジェクト上のフィールド名**: 編集しているオブジェクト上のリレーションフィールドの名前
|
||||
* **対象オブジェクト上のフィールド名**: 対象オブジェクトに表示されるリレーションフィールドの名前
|
||||
* リレーションタイプ(1対多、多対1)
|
||||
7. **保存**をクリック
|
||||
|
||||
Twenty comes with pre-built relations between standard objects:
|
||||
## 標準リレーション
|
||||
|
||||
| From Object | To Object | Relation Type |
|
||||
| ------------- | --------- | ------------- |
|
||||
| People | Companies | Many-to-One |
|
||||
| Opportunities | Companies | Many-to-One |
|
||||
| Opportunities | People | Many-to-One |
|
||||
Twenty には標準オブジェクト間のあらかじめ用意されたリレーションがあります:
|
||||
|
||||
## Best Practices
|
||||
| 元オブジェクト | 宛先オブジェクト | リレーションタイプ |
|
||||
| ------- | -------- | --------- |
|
||||
| 人物 | 会社 | 多対1 |
|
||||
| 商談 | 会社 | 多対1 |
|
||||
| 商談 | 人物 | 多対1 |
|
||||
|
||||
### Planning Relations
|
||||
## ベストプラクティス
|
||||
|
||||
* **Map your data model**: Plan relations before creating them
|
||||
* **Consider direction**: Think about which object "owns" the relationship
|
||||
* **Avoid circular dependencies**: Keep your data model clean
|
||||
### リレーションの計画
|
||||
|
||||
### Naming Relations
|
||||
* **データモデルをマッピング**: 作成前にリレーションを計画する
|
||||
* **方向性を検討**: どのオブジェクトがそのリレーションを"所有"するかを考える
|
||||
* **循環依存を避ける**: データモデルをクリーンに保つ
|
||||
|
||||
* **Use clear names**: Make it obvious what the relation represents
|
||||
* **Be consistent**: Use similar naming patterns across relations
|
||||
* **Consider both sides**: Name both sides of the relation appropriately
|
||||
### リレーションの命名
|
||||
|
||||
### Performance
|
||||
* **明確な名前を使う**: リレーションが何を表すかが一目でわかるようにする
|
||||
* **一貫性を保つ**: リレーション全体で似た命名パターンを使用する
|
||||
* **両側を考慮する**: リレーションの両側に適切な名前を付ける
|
||||
|
||||
* **Don't over-relate**: Too many relations can slow down your workspace
|
||||
### パフォーマンス
|
||||
|
||||
## Limitations
|
||||
* **リレーションの作りすぎに注意**: リレーションが多すぎるとワークスペースが遅くなる可能性があります
|
||||
|
||||
* **Deleting relations** removes the link but not the related records
|
||||
* **Circular relations** should be avoided for data integrity
|
||||
## 制限事項
|
||||
|
||||
* **リレーションを削除**するとリンクは削除されますが、関連レコード自体は削除されません。
|
||||
* **循環リレーション**はデータの整合性のため避けるべきです
|
||||
|
||||
@@ -13,7 +13,7 @@ Custom fields let you capture information specific to your business. Add them to
|
||||
4. Choose a **field type** (see [Fields](/l/ja/user-guide/data-model/capabilities/fields) for all types)
|
||||
5. Enter the **field name** and optional description
|
||||
6. Configure field-specific settings (see below)
|
||||
7. Click **Save**
|
||||
7. **保存**をクリック
|
||||
|
||||
**Quick method:** Click the **+** at the end of column headers in any table view → **Customize fields**.
|
||||
|
||||
|
||||
@@ -1,51 +1,51 @@
|
||||
---
|
||||
title: Create Custom Objects
|
||||
description: Step-by-step guide to creating custom objects in Twenty.
|
||||
title: カスタムオブジェクトを作成する
|
||||
description: Twenty でカスタムオブジェクトを作成するためのステップバイステップガイド。
|
||||
---
|
||||
|
||||
Custom objects let you store information unique to your business that standard objects don't cover. For example: Projects, Products, Tickets, or Listings.
|
||||
カスタムオブジェクトを使用すると、標準オブジェクトでは対応できないビジネス固有の情報を保存できます。 例: プロジェクト、製品、チケット、リスティング。
|
||||
|
||||
<Note>
|
||||
**Not sure if you need an object or a field?** See [Understanding Your Data Model](/l/ja/user-guide/data-model/overview) for guidance.
|
||||
**オブジェクトが必要か、フィールドが必要か迷っていますか?** 詳しくは[データモデルの理解](/l/ja/user-guide/data-model/overview)を参照してください。
|
||||
</Note>
|
||||
|
||||
## Steps
|
||||
## 手順
|
||||
|
||||
1. Go to **Settings → Data Model**
|
||||
2. Click **+ New object**
|
||||
3. Fill in:
|
||||
* **Singular name** (e.g., "Listing")
|
||||
* **Plural name** (e.g., "Listings")
|
||||
* **Icon**
|
||||
* **Description** (optional)
|
||||
4. Click **Save**
|
||||
1. **設定 → データモデル** に移動
|
||||
2. **+ New object** をクリック
|
||||
3. 次を入力:
|
||||
* **単数名**(例: "Listing")
|
||||
* **複数名**(例: "Listings")
|
||||
* **アイコン**
|
||||
* **説明**(任意)
|
||||
4. **保存**をクリック
|
||||
|
||||
Your object appears in the sidebar immediately.
|
||||
作成したオブジェクトはすぐにサイドバーに表示されます。
|
||||
|
||||
## Next: Add Fields
|
||||
## 次: フィールドを追加
|
||||
|
||||
New objects start with basic fields. Add custom fields to capture the data you need:
|
||||
新しいオブジェクトには基本フィールドがあらかじめ含まれています。 必要なデータを収集するために、カスタムフィールドを追加します:
|
||||
|
||||
1. In **Settings → Data Model**, select your object
|
||||
2. Click **+ Add Field**
|
||||
3. Choose a field type, configure, and save
|
||||
1. **設定 → データモデル** で、対象のオブジェクトを選択します
|
||||
2. **+ Add Field** をクリック
|
||||
3. フィールドタイプを選択し、設定して保存します
|
||||
|
||||
See [How to Create Custom Fields](/l/ja/user-guide/data-model/how-tos/create-custom-fields) for details on field types and configuration.
|
||||
フィールドタイプと設定の詳細は、[カスタムフィールドの作成方法](/l/ja/user-guide/data-model/how-tos/create-custom-fields)を参照してください。
|
||||
|
||||
## Connecting to Other Objects
|
||||
## 他のオブジェクトと接続する
|
||||
|
||||
To link your object to People, Companies, or other objects, create a relation field. See [How to Create Relation Fields](/l/ja/user-guide/data-model/how-tos/create-relation-fields).
|
||||
オブジェクトを People、Companies、その他のオブジェクトにリンクするには、リレーションフィールドを作成します。 [リレーションフィールドの作成方法](/l/ja/user-guide/data-model/how-tos/create-relation-fields)を参照してください。
|
||||
|
||||
## Deactivating an Object
|
||||
## オブジェクトの無効化
|
||||
|
||||
If you no longer need an object:
|
||||
オブジェクトが不要になった場合:
|
||||
|
||||
1. Go to **Settings → Data Model**
|
||||
2. Toggle the object off
|
||||
1. **設定 → データモデル** に移動
|
||||
2. オブジェクトをオフに切り替えます
|
||||
|
||||
The object is hidden but data is preserved. You can reactivate or permanently delete later.
|
||||
オブジェクトは非表示になりますが、データは保持されます。 後で再有効化することも、完全に削除することもできます。
|
||||
|
||||
## Related
|
||||
## 関連
|
||||
|
||||
* [Objects](/l/ja/user-guide/data-model/capabilities/objects) — standard vs custom objects
|
||||
* [Data Model FAQ](/l/ja/user-guide/data-model/how-tos/data-model-faq) — common questions
|
||||
* [オブジェクト](/l/ja/user-guide/data-model/capabilities/objects) — 標準オブジェクトとカスタムオブジェクト
|
||||
* [データモデル FAQ](/l/ja/user-guide/data-model/how-tos/data-model-faq) — よくある質問
|
||||
|
||||
+180
@@ -0,0 +1,180 @@
|
||||
---
|
||||
title: 多対多リレーションを作成する
|
||||
description: ジャンクションオブジェクトを使うことで、両側の多数のレコード同士をリンクできます。
|
||||
---
|
||||
|
||||
多対多リレーションでは、両側で複数のレコードを相互に接続できます。 例えば、多数の連絡先が多数のプロジェクトで作業でき、各プロジェクトには多数の連絡先が紐づきます。
|
||||
|
||||
<Warning>
|
||||
**ラボ機能**: ジャンクションリレーションは現在 Lab にあります。 このガイドに進む前に、**Settings → Updates → Lab** で有効にしてください。
|
||||
</Warning>
|
||||
|
||||
<Note>
|
||||
この機能を使うには **詳細モード** も有効にする必要があります(Settings の右下にあるトグルで切り替え)。
|
||||
</Note>
|
||||
|
||||
## 多対多を使うタイミング
|
||||
|
||||
関係の両側が複数の接続を持ちうる場合に、多対多を使用します。
|
||||
|
||||
| 関係 | 例 |
|
||||
| ------------ | -------------------------------------------------- |
|
||||
| 連絡先 ↔ プロジェクト | 1 人の連絡先は複数のプロジェクトで作業でき、1 つのプロジェクトには複数のチームメンバーがいます。 |
|
||||
| 会社 ↔ タグ | 1 社には複数のタグを付与でき、1 つのタグは複数の会社に適用できます。 |
|
||||
| 商品 ↔ 注文 | 1 つの商品は複数の注文に含まれ、1 件の注文には複数の商品が含まれます。 |
|
||||
|
||||
## 仕組み
|
||||
|
||||
Twenty は多対多リレーションに **ジャンクションオブジェクト** パターンを使用します。 ジャンクションオブジェクトは 2 つのオブジェクトの間に位置し、接続を保持します。
|
||||
|
||||
```
|
||||
People ←→ Project Assignments ←→ Projects
|
||||
```
|
||||
|
||||
**Project Assignments** オブジェクト(ジャンクション)には次があります。
|
||||
|
||||
* People へのリレーション(多対1)
|
||||
* Projects へのリレーション(多対1)
|
||||
|
||||
ジャンクションリレーションのトグルを有効にすると、Twenty は中間のジャンクションレコードを表示せず、リンクされたレコードを直接表示します。
|
||||
|
||||
## 前提条件
|
||||
|
||||
1. **Lab で Junction Relations を有効化**: **Settings → Updates → Lab** に移動し、**Junction Relations** を有効にします
|
||||
2. **詳細モードを有効化**: 設定サイドバーの右下にある **Advanced mode** のトグルをオンにします
|
||||
3. データモデルを計画する:
|
||||
* どの 2 つのオブジェクトを接続しますか?
|
||||
* ジャンクションオブジェクトの名称は何にしますか?
|
||||
|
||||
## ステップ 1: ジャンクションオブジェクトを作成する
|
||||
|
||||
まず、接続を保持する中間オブジェクトを作成します。
|
||||
|
||||
1. **設定 → データモデル** に移動します
|
||||
2. **+ New object** をクリック
|
||||
3. わかりやすい名前を付けます(例: "Project Assignment"、"Team Member"、"Product Order")
|
||||
4. **保存**をクリック
|
||||
|
||||
<Tip>
|
||||
**命名規則**: "Project Assignment" や "Team Membership" のように、関係を表す名前を使用してください。 これにより、データモデルが理解しやすくなります。
|
||||
</Tip>
|
||||
|
||||
## ステップ 2: ジャンクションオブジェクトからリレーションを作成する
|
||||
|
||||
ジャンクションオブジェクトから、接続したい両方のオブジェクトへのリレーションフィールドを追加します。
|
||||
|
||||
### 最初のリレーション(ジャンクション → オブジェクト A)
|
||||
|
||||
1. **Settings → Data Model** でジャンクションオブジェクトを選択します
|
||||
2. **+ Add Field** をクリック
|
||||
3. フィールドタイプとして **Relation** を選択します
|
||||
4. 最初のオブジェクトを選択します(例: "People")
|
||||
5. リレーションタイプを **Many-to-One** に設定します(多数の割り当てが 1 人の連絡先にリンクできます)
|
||||
6. フィールドに名前を付けます:
|
||||
* ジャンクション側のフィールド: 例: "Person"
|
||||
* People 側のフィールド: 例: "Project Assignments"
|
||||
7. **保存**をクリック
|
||||
|
||||
### 2 番目のリレーション(ジャンクション → オブジェクト B)
|
||||
|
||||
1. 引き続きジャンクションオブジェクトで、**+ Add Field** をクリックします
|
||||
2. フィールドタイプとして **Relation** を選択します
|
||||
3. 2 番目のオブジェクトを選択します(例: "Projects")
|
||||
4. リレーションタイプを **Many-to-One** に設定します
|
||||
5. フィールドに名前を付けます:
|
||||
* ジャンクション側のフィールド: 例: "Project"
|
||||
* Projects 側のフィールド: 例: "Team Members"
|
||||
6. **保存**をクリック
|
||||
|
||||
## ステップ 3: ジャンクションリレーションの表示を設定する
|
||||
|
||||
次に、中間のジャンクションオブジェクトを介さずにリンクされたレコードを直接表示するよう、元のオブジェクトを設定します。
|
||||
|
||||
1. **設定 → データモデル** に移動します
|
||||
2. 最初のオブジェクトを選択します(例: "People")
|
||||
3. ジャンクションオブジェクトを指すリレーションフィールド(例: "Project Assignments")を見つけます
|
||||
4. クリックしてフィールドを編集します
|
||||
5. **"これはジャンクションオブジェクトへのリレーションです"** を有効にします
|
||||
6. **Target relation** を選択します(例: "Project" — 反対側を指すジャンクション上のフィールド)
|
||||
7. **保存**をクリック
|
||||
|
||||
{/* TODO: Add image
|
||||
<img src="/images/user-guide/fields/junction-relation-toggle.png" style={{width:'100%'}}/>
|
||||
*/}
|
||||
|
||||
もう一方のオブジェクトでも同様に行います:
|
||||
|
||||
1. Data Model で "Projects" を選択します
|
||||
2. "Team Members" のリレーションフィールドを編集します
|
||||
3. ジャンクションのトグルを有効にします
|
||||
4. 対象リレーションとして "Person" を選択します
|
||||
5. 保存
|
||||
|
||||
## 結果
|
||||
|
||||
設定後:
|
||||
|
||||
* **Person** レコードでは、"Project Assignments" フィールドに **Projects** が直接表示されます(割り当てレコードではありません)
|
||||
* **Project** レコードでは、"Team Members" フィールドに **People** が直接表示されます
|
||||
|
||||
ジャンクションオブジェクト自体は存在し接続を保存しますが、UI ではよりすっきりした多対多ビューとして表示されます。
|
||||
|
||||
## 例: People ↔ Projects
|
||||
|
||||
完全な手順は以下のとおりです:
|
||||
|
||||
### ジャンクションオブジェクトを作成する
|
||||
|
||||
* 名前: **Project Assignment**
|
||||
* 説明: "人と、その人が携わっているプロジェクトを関連付けます"
|
||||
|
||||
### リレーションを追加する
|
||||
|
||||
1. **Project Assignment → People**
|
||||
* タイプ: 多対1
|
||||
* Assignment 側のフィールド: "Person"
|
||||
* People 側のフィールド: "Project Assignments"
|
||||
|
||||
2. **Project Assignment → Projects**
|
||||
* タイプ: 多対1
|
||||
* Assignment 側のフィールド: "Project"
|
||||
* Projects 側のフィールド: "Team Members"
|
||||
|
||||
### ジャンクションの表示を設定する
|
||||
|
||||
1. **People** オブジェクトで:
|
||||
* "Project Assignments" フィールドを編集
|
||||
* ジャンクションのトグルを有効にする
|
||||
* 対象: "Project"
|
||||
|
||||
2. **Projects** オブジェクトで:
|
||||
* "Team Members" フィールドを編集
|
||||
* ジャンクションのトグルを有効にする
|
||||
* 対象: "Person"
|
||||
|
||||
### 使ってみる
|
||||
|
||||
* Person レコードを開く → 紐づく Projects を直接表示
|
||||
* Project レコードを開く → チームメンバーを直接表示
|
||||
* どちら側からでも新しい接続を作成できます
|
||||
|
||||
## 接続に追加データを持たせる
|
||||
|
||||
ジャンクションオブジェクトは実体のあるオブジェクトなので、関係に関する情報を保存するためのカスタムフィールドを追加できます。
|
||||
|
||||
* **役割**: "Developer"、"Designer"、"Manager"
|
||||
* **開始日**: プロジェクトに参加した日
|
||||
* **割り当て時間**: 当該プロジェクトの週あたりの時間
|
||||
|
||||
このデータにアクセスするには、ジャンクションオブジェクトに直接移動するか、API 経由でクエリします。
|
||||
|
||||
## 制限事項
|
||||
|
||||
* **CSV インポート/エクスポート**: 多対多リレーションの直接インポートには対応していません。 代わりに、ジャンクションオブジェクトにレコードをインポートしてください。
|
||||
* **フィルター**: 多対多リレーションでのフィルタリングには制限がある場合があります。
|
||||
|
||||
## 関連
|
||||
|
||||
* [リレーションフィールド](/l/ja/user-guide/data-model/capabilities/relation-fields) — リレーションタイプの解説
|
||||
* [カスタムオブジェクトの作成](/l/ja/user-guide/data-model/how-tos/create-custom-objects) — オブジェクトの作成方法
|
||||
* [リレーションフィールドを作成](/l/ja/user-guide/data-model/how-tos/create-relation-fields) — 基本的なリレーションの設定
|
||||
+37
-37
@@ -1,60 +1,60 @@
|
||||
---
|
||||
title: Create Relation Fields
|
||||
description: Step-by-step guide to connecting objects with relation fields.
|
||||
title: 関連フィールドの作成
|
||||
description: リレーションフィールドでオブジェクトを接続するためのステップバイステップガイド。
|
||||
---
|
||||
|
||||
Relation fields connect records from different objects—for example, linking People to Companies.
|
||||
リレーションフィールドは異なるオブジェクトのレコードを接続します—たとえば、People を Companies にリンクします。
|
||||
|
||||
<Note>
|
||||
**Relation names cannot be changed after creation** (they affect the API). Plan your names carefully.
|
||||
**リレーション名は作成後に変更できません**(API に影響するため)。 名前は慎重に計画してください。
|
||||
</Note>
|
||||
|
||||
## Before You Start
|
||||
## 始める前に
|
||||
|
||||
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?
|
||||
* どのオブジェクトを接続しますか? (例:People → Companies)
|
||||
* どちらが「one」側ですか? (例:Company)
|
||||
* どちらが「many」側ですか? (例:People — 多くの人が1つの会社で働く)
|
||||
* 各側のフィールド名は何にしますか?
|
||||
|
||||
See [Relation Fields](/l/ja/user-guide/data-model/capabilities/relation-fields) for relation types explained.
|
||||
リレーションの種類については、[Relation Fields](/l/ja/user-guide/data-model/capabilities/relation-fields) を参照してください。
|
||||
|
||||
## 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. Click **Save**
|
||||
1. **Settings → Data Model** に移動します
|
||||
2. リレーションを作成したいオブジェクト(通常は「many」側)を選択します
|
||||
3. **+ Add Field** をクリックします
|
||||
4. フィールドタイプとして **Relation** を選択します
|
||||
5. **対象オブジェクト** を選択します
|
||||
6. **One-to-Many** または **Many-to-One** を選択します
|
||||
7. リレーションの**両側**のフィールド名を入力します
|
||||
8. **保存**をクリック
|
||||
|
||||
## Example: People → Companies
|
||||
## 例: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**
|
||||
* **Settings → Data Model → People** に移動します
|
||||
* リレーションフィールドを追加します
|
||||
* 対象:**Companies**
|
||||
* タイプ:**Many-to-One**
|
||||
* People 側のフィールド:**Company**
|
||||
* Companies 側のフィールド:**Employees**
|
||||
|
||||
Now each Person can be linked to a Company, and each Company shows its People.
|
||||
これで、各 Person は Company にリンクでき、各 Company には People が表示されます。
|
||||
|
||||
## Deleting a Relation
|
||||
## リレーションの削除
|
||||
|
||||
1. Go to **Settings → Data Model**
|
||||
2. Find the relation field
|
||||
3. Click **⋮ → Deactivate**
|
||||
1. **Settings → Data Model** に移動します
|
||||
2. リレーションフィールドを見つけます
|
||||
3. **⋮ → 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/ja/user-guide/data-model/capabilities/relation-fields) — types and limitations
|
||||
* [How to Import Relations](/l/ja/user-guide/data-migration/how-tos/import-relations-between-objects-via-csv) — bulk import linked records
|
||||
* [Relation Fields](/l/ja/user-guide/data-model/capabilities/relation-fields) — 種類と制限事項
|
||||
* [How to Import Relations](/l/ja/user-guide/data-migration/how-tos/import-relations-between-objects-via-csv) — リンクされたレコードを一括インポート
|
||||
|
||||
+15
-15
@@ -1,22 +1,22 @@
|
||||
---
|
||||
title: Customize Your Data Model
|
||||
description: Overview of data model customization options.
|
||||
title: データモデルをカスタマイズする
|
||||
description: データモデルのカスタマイズオプションの概要。
|
||||
---
|
||||
|
||||
Twenty's data model is fully customizable. Create objects, fields, and relations to match your business.
|
||||
Twentyのデータモデルは完全にカスタマイズ可能です。 ビジネスに合わせて、オブジェクト、フィールド、リレーションを作成できます。
|
||||
|
||||
## Quick Links
|
||||
## クイックリンク
|
||||
|
||||
| I want to... | Guide |
|
||||
| ------------------------ | -------------------------------------------------------------------------------------- |
|
||||
| Create a new object | [How to Create Custom Objects](/l/ja/user-guide/data-model/how-tos/create-custom-objects) |
|
||||
| Add fields to an object | [How to Create Custom Fields](/l/ja/user-guide/data-model/how-tos/create-custom-fields) |
|
||||
| Connect objects together | [How to Create Relation Fields](/l/ja/user-guide/data-model/how-tos/create-relation-fields) |
|
||||
| やりたいこと... | ガイド |
|
||||
| ----------------- | ------------------------------------------------------------------------- |
|
||||
| 新しいオブジェクトを作成する | [カスタムオブジェクトの作成方法](/l/ja/user-guide/data-model/how-tos/create-custom-objects) |
|
||||
| オブジェクトにフィールドを追加する | [カスタムフィールドの作成方法](/l/ja/user-guide/data-model/how-tos/create-custom-fields) |
|
||||
| オブジェクト同士を関連付ける | [リレーションフィールドの作成方法](/l/ja/user-guide/data-model/how-tos/create-relation-fields) |
|
||||
|
||||
## Learn More
|
||||
## さらに詳しく
|
||||
|
||||
* [Understanding Your Data Model](/l/ja/user-guide/data-model/overview) — key concepts and planning tips
|
||||
* [Objects](/l/ja/user-guide/data-model/capabilities/objects) — standard vs custom objects
|
||||
* [Fields](/l/ja/user-guide/data-model/capabilities/fields) — all field types
|
||||
* [Relation Fields](/l/ja/user-guide/data-model/capabilities/relation-fields) — connecting objects
|
||||
* [Data Model FAQ](/l/ja/user-guide/data-model/how-tos/data-model-faq) — common questions
|
||||
* [データモデルを理解する](/l/ja/user-guide/data-model/overview) — 重要な概念と計画のヒント
|
||||
* [オブジェクト](/l/ja/user-guide/data-model/capabilities/objects) — 標準オブジェクトとカスタムオブジェクト
|
||||
* [フィールド](/l/ja/user-guide/data-model/capabilities/fields) — すべてのフィールドタイプ
|
||||
* [リレーションフィールド](/l/ja/user-guide/data-model/capabilities/relation-fields) — オブジェクトの関連付け
|
||||
* [データモデルFAQ](/l/ja/user-guide/data-model/how-tos/data-model-faq) — よくある質問
|
||||
|
||||
@@ -1,155 +1,162 @@
|
||||
---
|
||||
title: Data Model FAQ
|
||||
description: Frequently asked questions about Twenty's data model.
|
||||
title: データモデルFAQ
|
||||
description: Twenty のデータモデルに関するよくある質問。
|
||||
---
|
||||
|
||||
## Object Management
|
||||
## オブジェクト管理
|
||||
|
||||
<AccordionGroup>
|
||||
<Accordion title="Can I delete a custom object?">
|
||||
Yes, custom objects can be deleted. You can also deactivate them first, which hides the object and its data from the interface while preserving the data.
|
||||
<Accordion title="カスタムオブジェクトを削除できますか?">
|
||||
はい、カスタムオブジェクトは削除できます。 まず無効化することもできます。無効化すると、データを保持したまま、オブジェクトとそのデータがインターフェースから非表示になります。
|
||||
</Accordion>
|
||||
|
||||
<Accordion title="Can I delete standard objects (People, Companies, etc.)?">
|
||||
No, standard objects cannot be deleted. You can only deactivate them, which hides them from the interface but preserves the data.
|
||||
<Accordion title="標準オブジェクト(人、会社など)を削除できますか?">
|
||||
いいえ、標準オブジェクトは削除できません。 無効化のみ可能です。無効化するとインターフェースからは非表示になりますが、データは保持されます。
|
||||
</Accordion>
|
||||
|
||||
<Accordion title="How many custom objects can I create?">
|
||||
You can create as many custom objects and fields as you need — the price doesn't change.
|
||||
<Accordion title="カスタムオブジェクトはいくつ作成できますか?">
|
||||
必要なだけカスタムオブジェクトやフィールドを作成できます—価格は変わりません。
|
||||
</Accordion>
|
||||
|
||||
<Accordion title="Can I rename a standard object?">
|
||||
You can rename the label of standard objects (People, Companies, Opportunities), but not their API names. The API names are fixed for consistency across all Twenty workspaces.
|
||||
<Accordion title="標準オブジェクトの名前を変更できますか?">
|
||||
標準オブジェクト(People、Companies、Opportunities)のラベル名は変更できますが、API 名は変更できません。 API 名は、すべての Twenty ワークスペース間で一貫性を保つため固定されています。
|
||||
</Accordion>
|
||||
|
||||
<Accordion title="Can I change an object's icon?">
|
||||
Yes, you can change the icon for both standard and custom objects in **Settings → Data Model**.
|
||||
<Accordion title="オブジェクトのアイコンを変更できますか?">
|
||||
はい、**Settings → Data Model** で標準オブジェクトとカスタムオブジェクトのアイコンを変更できます。
|
||||
</Accordion>
|
||||
|
||||
<Accordion title="Can I reorder objects in the left navigation bar?">
|
||||
Not yet. Object ordering in the navigation is currently fixed, but this feature is planned for a future release.
|
||||
<Accordion title="左のナビゲーションバーでオブジェクトを並べ替えることはできますか?">
|
||||
まだできません。
|
||||
まだできません。 ナビゲーションでのオブジェクトの順序は現在固定されていますが、この機能は将来のリリースで予定されています。
|
||||
</Accordion>
|
||||
|
||||
<Accordion title="Can I hide objects from the left navigation bar?">
|
||||
All active objects appear in the navigation. You can deactivate objects you don't need under **Settings → Data Model**.
|
||||
<Accordion title="左のナビゲーションバーからオブジェクトを非表示にできますか?">
|
||||
すべてのアクティブなオブジェクトがナビゲーションに表示されます。
|
||||
すべてのアクティブなオブジェクトがナビゲーションに表示されます。 必須でないオブジェクトは、**設定 → データモデル** から非アクティブ化できます。
|
||||
すべてのアクティブなオブジェクトがナビゲーションに表示されます。 必須でないオブジェクトは、**設定 → データモデル** から非アクティブ化できます。
|
||||
</Accordion>
|
||||
</AccordionGroup>
|
||||
|
||||
## Field Capabilities
|
||||
## フィールドの機能
|
||||
|
||||
<AccordionGroup>
|
||||
<Accordion title="Can I change a field type after creation?">
|
||||
No, field types cannot be changed after creation. If you need a different type, create a new field with the correct type, migrate your data, then deactivate the old field.
|
||||
<Accordion title="作成後にフィールドの型を変更できますか?">
|
||||
いいえ、作成後にフィールドの型は変更できません。 別の型が必要な場合は、正しい型の新しいフィールドを作成し、データを移行してから、古いフィールドを無効化してください。
|
||||
</Accordion>
|
||||
|
||||
<Accordion title="Why do I need different singular and plural names?">
|
||||
Our GraphQL API uses both forms for different operations:
|
||||
<Accordion title="なぜ異なる単数形と複数形の名前が必要なのですか?">
|
||||
GraphQL APIは、異なる操作に対し両方の形式を使用します:
|
||||
|
||||
* `createPerson` (singular) for single record actions
|
||||
* `createPeople` (plural) for bulk operations
|
||||
* 単一のレコード操作には、`createPerson`(単数形)
|
||||
* 一括操作には、`createPeople`(複数形)
|
||||
|
||||
This creates limitations when singular and plural forms are the same, but it improves the developer experience.
|
||||
単数形と複数形が同じ場合に制限が発生しますが、開発者の体験を向上させます。
|
||||
</Accordion>
|
||||
|
||||
<Accordion title="Why are some field names protected?">
|
||||
Certain field names like `Type` or `Application` are reserved for system use. Choose alternative names like `Category` or `Classification` instead.
|
||||
<Accordion title="なぜいくつかのフィールド名は保護されているのですか?">
|
||||
`Type` や `Application` のようないくつかのフィールド名はシステム用に予約されています。 代わりに`Category`や`Classification`のような代替名を選択してください。
|
||||
代わりに`Category`や`Classification`のような代替名を選択してください。
|
||||
</Accordion>
|
||||
|
||||
<Accordion title="What happens when I deactivate a field?">
|
||||
* The field is hidden from the interface
|
||||
* Existing data is preserved
|
||||
* You can still access the field via API
|
||||
* Existing relations remain but you can't create new ones
|
||||
* You can reactivate the field later
|
||||
<Accordion title="フィールドを無効化するとどうなりますか?">
|
||||
* そのフィールドはインターフェースから非表示になります
|
||||
* 既存のデータは保持されます
|
||||
* API 経由でそのフィールドに引き続きアクセスできます
|
||||
* 既存のリレーションは維持されますが、新規に作成することはできません
|
||||
* そのフィールドは後で再有効化できます
|
||||
</Accordion>
|
||||
|
||||
<Accordion title="Can I make a field required?">
|
||||
Currently, you cannot make custom fields required. All fields accept empty values. You can use workflows to enforce required fields by sending alerts or blocking actions when fields are empty.
|
||||
<Accordion title="フィールドを必須にできますか?">
|
||||
現在、カスタムフィールドを必須にすることはできません。 すべてのフィールドは空の値を受け付けます。 ワークフローを使用して、フィールドが空のときにアラート送信やアクションのブロックを行い、必須を強制できます。
|
||||
</Accordion>
|
||||
|
||||
<Accordion title="What's the difference between unique and required?">
|
||||
* **Unique**: No two records can have the same value in this field
|
||||
* **Required**: The field must have a value (not currently supported for custom fields)
|
||||
<Accordion title="一意と必須の違いは何ですか?">
|
||||
* **一意**: 2 つのレコードがこのフィールドで同じ値を持つことはできません
|
||||
* **必須**: フィールドには値が必要です(現在、カスタムフィールドではサポートされていません)
|
||||
</Accordion>
|
||||
|
||||
<Accordion title="Can I create formula fields?">
|
||||
Formula fields are coming in **Q1 2026**. In the meantime, you can use workflows to calculate and update field values automatically.
|
||||
<Accordion title="数式フィールドを作成できますか?">
|
||||
数式フィールドは**2026年Q1**に提供されます。
|
||||
数式フィールドは**2026年Q1**に提供されます。 その間、自動で計算してフィールド値を更新するワークフローを使用できます。
|
||||
数式フィールドは**2026年Q1**に提供されます。 その間、自動で計算してフィールド値を更新するワークフローを使用できます。
|
||||
</Accordion>
|
||||
|
||||
<Accordion title="Can I have nested fields in my objects?">
|
||||
Nested fields are coming in **Q1 2026**. Currently, you can use workflows to bring field values from related objects. For example, to display a company's industry on a Person record, create a custom field on People and use a workflow to synchronize the value.
|
||||
<Accordion title="オブジェクトにネストされたフィールドを持つことはできますか?">
|
||||
ネストされたフィールドは**2026年Q1**に提供されます。 現在、関連オブジェクトからフィールド値を取得するためのワークフローを使用できます。 例えば、人のレコードに会社の業界を表示するには、[People] にカスタムフィールドを作成し、ワークフローを使って値を同期します。
|
||||
</Accordion>
|
||||
|
||||
<Accordion title="Can I reorder fields in objects?">
|
||||
Field reordering will be available with custom layouts in **Q4 2025**. Currently, fields appear in alphabetical order.
|
||||
<Accordion title="オブジェクト内のフィールドを並べ替えることはできますか?">
|
||||
フィールドの並び替えは**2025年Q4**のカスタムレイアウトで利用可能になります。 現在、フィールドはアルファベット順で表示されます。
|
||||
現在、フィールドはアルファベット順で表示されます。
|
||||
</Accordion>
|
||||
</AccordionGroup>
|
||||
|
||||
## Relations
|
||||
## 関連
|
||||
|
||||
<AccordionGroup>
|
||||
<Accordion title="Can I have a relation pointing to the same object?">
|
||||
Yes! Self-referencing relations are supported and recommended for use cases like account hierarchies. For example, create a relation from Companies to Companies to track parent/child accounts.
|
||||
<Accordion title="同じオブジェクトを指すリレーションを作成できますか?">
|
||||
はい! 自己参照リレーションはサポートされており、アカウント階層などのユースケースでの使用が推奨されます。 例えば、親子アカウントを追跡するために、Companies 同士のリレーションを作成します。
|
||||
</Accordion>
|
||||
|
||||
<Accordion title="Can I create many-to-many relationships?">
|
||||
Many-to-many relationships are coming in **H1 2026**. Currently, create an intermediate object with two one-to-many relationships as a workaround.
|
||||
<Accordion title="多対多の関係を作成できますか?">
|
||||
多対多のリレーションは**2026年上半期**に提供予定です。 現在は、回避策として、1 対多のリレーションを 2 つ持つ中間オブジェクトを作成してください。
|
||||
|
||||
For example, to link People and Projects (many-to-many), create a "Project Assignments" object with:
|
||||
例えば、People と Projects(多対多)を関連付けるには、"Project Assignments" オブジェクトを作成し、次の構成にします:
|
||||
|
||||
* A relation to People (many assignments → one person)
|
||||
* A relation to Projects (many assignments → one project)
|
||||
* People へのリレーション(多数の割り当て → 1 人)
|
||||
* Projects へのリレーション(多数の割り当て → 1 プロジェクト)
|
||||
</Accordion>
|
||||
|
||||
<Accordion title="What are relations to multiple object types (Morph relationships)?">
|
||||
These allow one object to relate to multiple different object types through a single field. For example, Notes can be attached to People AND Companies AND Opportunities simultaneously.
|
||||
<Accordion title="複数のオブジェクトタイプへのリレーション(Morph リレーション)とは何ですか?">
|
||||
これは、1 つのフィールドを通じて 1 つのオブジェクトが複数の異なるオブジェクトタイプに関連付けられるようにするものです。 例えば、メモは People と Companies と Opportunities に同時に添付できます。
|
||||
|
||||
Each Note links to one Person, one Company, and one Opportunity at the same time.
|
||||
各メモは、連絡先 1 名、会社 1 社、商談 1 件に同時にリンクします。
|
||||
|
||||
Learn more in [Relation Fields](/l/ja/user-guide/data-model/capabilities/relation-fields).
|
||||
詳しくは [リレーションフィールド](/l/ja/user-guide/data-model/capabilities/relation-fields) をご覧ください。
|
||||
</Accordion>
|
||||
|
||||
<Accordion title="Can I have multiple relations between the same objects?">
|
||||
Yes, you can create multiple relations between the same two objects. For example, a Company could have both a "Primary Contact" and "Billing Contact" relation to People.
|
||||
<Accordion title="同じオブジェクト間で複数のリレーションを持てますか?">
|
||||
はい、同じ 2 つのオブジェクト間に複数のリレーションを作成できます。 例えば、Company は People に対して "Primary Contact" リレーションと "Billing Contact" リレーションの両方を持つことができます。
|
||||
</Accordion>
|
||||
|
||||
<Accordion title="What happens to relations when I delete a record?">
|
||||
When you delete a record, the relation link is removed from the related records. The related records themselves are not deleted.
|
||||
<Accordion title="レコードを削除すると、リレーションはどうなりますか?">
|
||||
レコードを削除すると、関連レコードからそのリレーションのリンクが削除されます。 関連レコード自体は削除されません。
|
||||
</Accordion>
|
||||
|
||||
<Accordion title="Can I create circular relations?">
|
||||
While technically possible, circular relations (A → B → C → A) should be avoided as they can cause confusion and potential performance issues.
|
||||
<Accordion title="循環リレーションを作成できますか?">
|
||||
技術的には可能ですが、循環リレーション(A → B → C → A)は混乱を招き、パフォーマンス上の問題を引き起こす可能性があるため、避けるべきです。
|
||||
</Accordion>
|
||||
</AccordionGroup>
|
||||
|
||||
## Access and Permissions
|
||||
## アクセスと権限
|
||||
|
||||
<AccordionGroup>
|
||||
<Accordion title="Where can I see and edit my data model?">
|
||||
Go to **Settings → Data Model** to view and edit all your objects and fields.
|
||||
<Accordion title="データモデルをどこで見て編集できますか?">
|
||||
**Settings → Data Model** に移動すると、すべてのオブジェクトとフィールドを表示および編集できます。
|
||||
</Accordion>
|
||||
|
||||
<Accordion title="Why can't I see the Data Model under Settings?">
|
||||
Reach out to your workspace administrator. Data model access is usually restricted to administrators only.
|
||||
<Accordion title="なぜ設定内でデータモデルが見えないのですか?">
|
||||
ワークスペースの管理者にお問い合わせください。 データモデルへのアクセスは通常、管理者に制限されています。
|
||||
</Accordion>
|
||||
</AccordionGroup>
|
||||
|
||||
## Data Management
|
||||
## データ管理
|
||||
|
||||
<AccordionGroup>
|
||||
<Accordion title="Is there a limit to how many records I can have?">
|
||||
There's no hard limit on record counts. However, very large datasets may impact performance in some views. Use filters and views to manage large datasets effectively.
|
||||
<Accordion title="保持できるレコード数に上限はありますか?">
|
||||
レコード数に厳密な上限はありません。 ただし、非常に大きなデータセットは、一部のビューでパフォーマンスに影響を与える可能性があります。 フィルターやビューを活用して、大規模なデータセットを効率的に管理してください。
|
||||
</Accordion>
|
||||
|
||||
<Accordion title="Can I import data into custom objects?">
|
||||
Yes, you can import CSV data into any object, including custom objects. The import process supports field mapping for custom fields. See [How to Prepare Your CSV Files](/l/ja/user-guide/data-migration/how-tos/prepare-your-csv-files).
|
||||
<Accordion title="カスタムオブジェクトにデータをインポートできますか?">
|
||||
はい、カスタムオブジェクトを含む任意のオブジェクトに CSV データをインポートできます。 インポートプロセスでは、カスタムフィールドのフィールドマッピングをサポートしています。 詳しくは [CSV ファイルの準備方法](/l/ja/user-guide/data-migration/how-tos/prepare-your-csv-files) をご覧ください。
|
||||
</Accordion>
|
||||
|
||||
<Accordion title="Can I export my data model configuration?">
|
||||
Currently, there's no built-in export for data model configuration. Contact support if you need to migrate your data model between workspaces.
|
||||
<Accordion title="データモデルの設定をエクスポートできますか?">
|
||||
現在、データモデル設定の組み込みエクスポート機能はありません。 ワークスペース間でデータモデルを移行する必要がある場合は、サポートにお問い合わせください。
|
||||
</Accordion>
|
||||
</AccordionGroup>
|
||||
|
||||
## Need More Help?
|
||||
## さらなるヘルプが必要ですか?
|
||||
|
||||
Check our [Implementation Services](/l/ja/user-guide/getting-started/capabilities/implementation-services) for help with complex data model design.
|
||||
複雑なデータモデル設計の支援については、[実装サービス](/l/ja/user-guide/getting-started/capabilities/implementation-services)をご覧ください。
|
||||
|
||||
@@ -1,180 +1,180 @@
|
||||
---
|
||||
title: Data Model
|
||||
description: Learn what a data model is and how to design one that fits your business.
|
||||
title: データモデル
|
||||
description: データモデルとは何か、ビジネスに適したデータモデルの設計方法を学びましょう。
|
||||
image: /images/user-guide/fields/custom_data_model.png
|
||||
---
|
||||
|
||||
<Frame>
|
||||
<img src="/images/user-guide/fields/custom_data_model.png" alt="Data Model" />
|
||||
<img src="/images/user-guide/fields/custom_data_model.png" alt="データモデル" />
|
||||
</Frame>
|
||||
|
||||
## What is a Data Model?
|
||||
## データモデルとは何ですか?
|
||||
|
||||
A data model is the structure that defines how information is organized in your CRM. Think of it as the **blueprint** of your customer data — you design it once, then fill it with your actual data.
|
||||
データモデルは、CRMにおける情報がどのように整理されるかを定義する構造です。 それは、どのオブジェクトが存在するか(会社、人、機会など)、それらが持つプロパティ(フィールド)が何か、そしてそれらがどのように関連しているかを決定します。 それを顧客データの地図として考えることができます。 それは、どのオブジェクトが存在するか(会社、人、機会など)、それらが持つプロパティ(フィールド)が何か、そしてそれらがどのように関連しているかを決定します。 それを顧客データの地図として考えることができます。 それは、どのオブジェクトが存在するか(会社、人、機会など)、それらが持つプロパティ(フィールド)が何か、そしてそれらがどのように関連しているかを決定します。 それを顧客データの地図として考えることができます。 それは、どのオブジェクトが存在するか(会社、人、機会など)、それらが持つプロパティ(フィールド)が何か、そしてそれらがどのように関連しているかを決定します。 それを顧客データの地図として考えることができます。 それは、どのオブジェクトが存在するか(会社、人、機会など)、それらが持つプロパティ(フィールド)が何か、そしてそれらがどのように関連しているかを決定します。 それを顧客データの地図として考えることができます。 それは、どのオブジェクトが存在するか(会社、人、機会など)、それらが持つプロパティ(フィールド)が何か、そしてそれらがどのように関連しているかを決定します。 それを顧客データの地図として考えることができます。 顧客データの**設計図**だと考えてください—一度設計したら、実際のデータで埋めていきます。
|
||||
|
||||
## Key Concepts
|
||||
## 主要な概念
|
||||
|
||||
### Objects
|
||||
### オブジェクト
|
||||
|
||||
**Objects** are the main categories of data in your CRM. Each object represents a type of thing you want to track.
|
||||
**オブジェクト**は、CRMにおけるデータの主要なカテゴリです。 各オブジェクトは、追跡したい対象の種類を表します。
|
||||
|
||||
Twenty comes with standard objects:
|
||||
Twenty には標準オブジェクトがあります:
|
||||
|
||||
* **People** — individuals (contacts, leads, partners)
|
||||
* **Companies** — organizations
|
||||
* **Opportunities** — deals or sales
|
||||
* **Notes** — attached notes on records
|
||||
* **Tasks** — to-dos linked to records
|
||||
* **People** — 個人(連絡先、リード、パートナー)
|
||||
* **Companies** — 組織
|
||||
* **Opportunities** — 商談または売上
|
||||
* **Notes** — レコードに添付されたメモ
|
||||
* **Tasks** — レコードに関連付けられたToDo
|
||||
|
||||
You can also create **custom objects** for anything specific to your business (e.g., Projects, Subscriptions, Events).
|
||||
あなたのビジネス固有のあらゆるもの向けに**カスタムオブジェクト**を作成することもできます(例:Projects、Subscriptions、Events)。
|
||||
|
||||
### Fields
|
||||
### フィールド
|
||||
|
||||
**Fields** are the properties or attributes that describe each object. They store the actual information.
|
||||
**フィールド**は、各オブジェクトを記述するプロパティ(属性)です。 実際の情報を保存します。
|
||||
|
||||
For example, the **People** object has fields like:
|
||||
例えば、**People** オブジェクトには次のようなフィールドがあります:
|
||||
|
||||
* Name
|
||||
* Email
|
||||
* Phone
|
||||
* Job Title
|
||||
* Company (a relation to the Companies object)
|
||||
* 名前
|
||||
* メール
|
||||
* 電話
|
||||
* 職種
|
||||
* Company(Companies オブジェクトへのリレーション)
|
||||
|
||||
Fields have different **types**: text, number, date, select, multi-select, relation, and more. You can add custom fields to any object.
|
||||
フィールドにはさまざまな**タイプ**があります: テキスト、数値、日付、セレクト、マルチセレクト、リレーションなど。 任意のオブジェクトにカスタムフィールドを追加できます。
|
||||
|
||||
### Records
|
||||
### レコード
|
||||
|
||||
**Records** are the individual entries within an object — the actual data you create and manage.
|
||||
**レコード**は、オブジェクト内の個別のエントリであり、あなたが作成・管理する実データです。
|
||||
|
||||
For example:
|
||||
例えば:
|
||||
|
||||
* "John Smith" is a **record** in the People object
|
||||
* "Acme Corp" is a **record** in the Companies object
|
||||
* "John Smith" は People オブジェクトの**レコード**です
|
||||
* "Acme Corp" は Companies オブジェクトの**レコード**です
|
||||
|
||||
**An analogy:**
|
||||
**例え:**
|
||||
|
||||
| Data Model Concept | Real-World Analogy |
|
||||
| ------------------ | ------------------------------------------ |
|
||||
| **Objects** | Sections in a book (the categories) |
|
||||
| **Fields** | Columns in a spreadsheet (the properties) |
|
||||
| **Records** | Rows in a spreadsheet (the actual entries) |
|
||||
| データモデルの概念 | 実世界のたとえ |
|
||||
| ---------- | ------------------- |
|
||||
| **オブジェクト** | 本のセクション(カテゴリ) |
|
||||
| **フィールド** | スプレッドシートの列(プロパティ) |
|
||||
| **レコード** | スプレッドシートの行(実際のエントリ) |
|
||||
|
||||
You design the data model (objects + fields) once, then create many records within that structure.
|
||||
データモデル(オブジェクト + フィールド)は一度設計し、その構造の中で多数のレコードを作成します。
|
||||
|
||||
## Why Customize Your Data Model?
|
||||
## データモデルをカスタマイズする理由
|
||||
|
||||
Every business works differently. Customizing your data model means you can shape Twenty around **your** processes instead of forcing yours into a rigid system.
|
||||
すべてのビジネスは違った方法で動作します。 データモデルをカスタマイズすれば、硬直的なシステムに自分のプロセスを押し込めるのではなく、Twenty を**あなたの**プロセスに合わせて形作れます。
|
||||
|
||||
Twenty offers full flexibility:
|
||||
Twenty は高い柔軟性を提供します:
|
||||
|
||||
* Create as many custom objects as you need
|
||||
* Add unlimited custom fields
|
||||
* The price doesn't change based on customization
|
||||
* 必要なだけカスタムオブジェクトを作成できます
|
||||
* 無制限にカスタムフィールドを追加できます
|
||||
* カスタマイズしても価格は変わりません
|
||||
|
||||
## Tips to Design Your Data Model
|
||||
## データモデルを設計するためのヒント
|
||||
|
||||
### 1. Start with Your Core Objects
|
||||
### 1. コアとなるオブジェクトから始める
|
||||
|
||||
Identify the main concepts you work with. Twenty already provides:
|
||||
取り扱う主要な概念を特定しましょう。 Twenty にはすでに次のものが用意されています:
|
||||
|
||||
* **People** — your contacts
|
||||
* **Companies** — your accounts
|
||||
* **Opportunities** — your deals
|
||||
* **People** — 連絡先
|
||||
* **Companies** — 取引先
|
||||
* **Opportunities** — 商談
|
||||
|
||||
Think about what else you might need:
|
||||
他に何が必要か考えてみましょう:
|
||||
|
||||
* Stripe would need a `Subscriptions` object
|
||||
* Airbnb would need a `Trips` object
|
||||
* An accelerator would need a `Batches` object
|
||||
* Stripe には `Subscriptions` オブジェクトが必要になるでしょう
|
||||
* Airbnb には `Trips` オブジェクトが必要になるでしょう
|
||||
* アクセラレーターには `Batches` オブジェクトが必要になるでしょう
|
||||
|
||||
### 2. Use Fields for Variations, Not New Objects
|
||||
### 2. バリエーションには新規オブジェクトではなくフィールドを使う
|
||||
|
||||
If something is just a characteristic of an existing object, make it a **field**.
|
||||
既存オブジェクトの単なる特性であれば、**フィールド**にしましょう。
|
||||
|
||||
**Use fields for:**
|
||||
**フィールドを使うケース:**
|
||||
|
||||
* Categories and labels (e.g., `Industry` for Companies)
|
||||
* Status values (e.g., `Stage` for Opportunities)
|
||||
* Attributes and properties
|
||||
* カテゴリやラベル(例:Companies の `Industry`)
|
||||
* ステータス値(例:Opportunities の `Stage`)
|
||||
* 属性やプロパティ
|
||||
|
||||
### 3. Create an Object When It Stands on Its Own
|
||||
### 3. 独立して成立する場合はオブジェクトを作成する
|
||||
|
||||
If the concept has its own lifecycle, properties, or relationships, it deserves an object.
|
||||
その概念に固有のライフサイクル、プロパティ、またはリレーションシップがあるなら、オブジェクトにする価値があります。
|
||||
|
||||
**Create an object for:**
|
||||
**オブジェクトを作成する対象:**
|
||||
|
||||
* **Projects** — have deadlines, owners, and tasks
|
||||
* **Subscriptions** — connect companies, products, and invoices
|
||||
* **Events** — involve attendees and follow-up actions
|
||||
* **Projects** — 期限、所有者、タスクを持つもの
|
||||
* **Subscriptions** — 会社、製品、請求書を結びつけるもの
|
||||
* **Events** — 参加者とフォローアップアクションを伴うもの
|
||||
|
||||
These go beyond a single field because they carry their own data and relationships.
|
||||
これらは単一のフィールドを超えており、独自のデータと関係を有しています。
|
||||
|
||||
### 4. Create an Object When Records Are Open-Ended
|
||||
### 4. レコード数が不定の場合はオブジェクトを作成する
|
||||
|
||||
If something can be linked multiple times and you don't know how many, use an object.
|
||||
関連付け回数が複数で、どれだけになるかわからない場合は、オブジェクトを使用します。
|
||||
|
||||
**Bad approach:**
|
||||
Creating fields like `Product 1`, `Product 2`, `Product 3`...
|
||||
**悪いアプローチ:**
|
||||
`Product 1`、`Product 2`、`Product 3` のようなフィールドを作成する...
|
||||
|
||||
**Good approach:**
|
||||
Create a `Products` object and relate it to records. This supports one, two, or a hundred products without changing your model.
|
||||
**良いアプローチ:**
|
||||
`Products` オブジェクトを作成してレコードに関連付ける。 こうすることで、製品が1つでも100でも、モデルを変更せずに対応できます。
|
||||
|
||||
### 5. Keep It Simple First
|
||||
### 5. まずはシンプルに
|
||||
|
||||
Start with fields. Move to new objects only when you feel the limits:
|
||||
まずはフィールドから始めましょう。 限界を感じたときにのみ新しいオブジェクトへ移行しましょう:
|
||||
|
||||
* Too many fields on one object
|
||||
* Repeated records that should be separate
|
||||
* Relationships that don't fit neatly
|
||||
* 1つのオブジェクトにフィールドが多すぎる
|
||||
* 別々にすべきレコードが繰り返されている
|
||||
* リレーションがうまく収まらない
|
||||
|
||||
## Special Note on People, Companies, and Opportunities
|
||||
## 人、会社、機会に関する特別な注意事項
|
||||
|
||||
<Warning>
|
||||
**Email and calendar sync only works with People, Companies, and Opportunities.**
|
||||
**メールとカレンダーの同期は、人、会社、機会でのみ機能します。**
|
||||
|
||||
These are the only objects where you can access synchronized emails and meetings from your mailbox/calendar. We recommend using them as much as possible.
|
||||
メールボックス/カレンダーから同期済みのメールやミーティングにアクセスできるのは、これらのオブジェクトだけです。 可能な限りこれらを使用することを推奨します。
|
||||
</Warning>
|
||||
|
||||
**Best practices:**
|
||||
**ベストプラクティス:**
|
||||
|
||||
* If you need categories of People, use fields (not new objects)
|
||||
* Example: Use a `Person Type` field with values "Prospect" and "Partner" instead of creating separate objects
|
||||
* Create different **views** to filter: one showing partners, another showing prospects
|
||||
* 「人」のカテゴリが必要な場合は、新しいオブジェクトではなくフィールドを使用してください
|
||||
* 例: 別々のオブジェクトを作成するのではなく、値として「見込み客」と「パートナー」を持つ `Person Type` フィールドを使用します
|
||||
* フィルター用に別々の**ビュー**を作成します: 1つはパートナーを表示し、もう1つは見込み客を表示します
|
||||
|
||||
**It's okay to have fields that don't apply to every record.** For example, a `Referral Link` field on People that only applies when `Person Type = Partner`. Hide this field from views where it's not relevant.
|
||||
**すべてのレコードに当てはまらないフィールドがあっても問題ありません。** 例えば、`Person Type = Partner` の場合にのみ適用される、「人」オブジェクトの `Referral Link` フィールド。 関連しないビューではこのフィールドを非表示にします。
|
||||
|
||||
## Questions to Guide Your Choice
|
||||
## 選択を導くための質問
|
||||
|
||||
Ask yourself:
|
||||
自問してください:
|
||||
|
||||
<Check>Is this just a property of something I already have, or does it need its own properties?</Check>
|
||||
<Check>Will I ever need to track multiple of these per record, without knowing how many?</Check>
|
||||
<Check>Does this concept connect to several different objects, not just one?</Check>
|
||||
<Check>Will it have its own lifecycle (stages, start/end dates)?</Check>
|
||||
<Check>これは、すでに持っているものの単なるプロパティですか、それとも独自のプロパティが必要ですか?</Check>
|
||||
<Check>各レコードで、その数を事前に知らずに複数を追跡する必要がありますか?</Check>
|
||||
<Check>この概念は、1つだけでなく複数の異なるオブジェクトに関連しますか?</Check>
|
||||
<Check>それは独自のライフサイクル(ステージ、開始/終了日)を持ちますか?</Check>
|
||||
|
||||
If the answer is "yes" to one or more, it's probably time for a new object.
|
||||
1つ以上に "はい" と答えるなら、新しいオブジェクトにする時期かもしれません。
|
||||
|
||||
## Accessing Your Data Model
|
||||
## データモデルへのアクセス
|
||||
|
||||
1. Go to **Settings** in the left sidebar
|
||||
2. Click **Data Model**
|
||||
3. View all your objects (standard and custom)
|
||||
4. Click any object to see and edit its fields
|
||||
1. 左サイドバーの**設定**に移動します
|
||||
2. **データモデル**をクリックします
|
||||
3. すべてのオブジェクト(標準およびカスタム)を表示します
|
||||
4. 任意のオブジェクトをクリックして、そのフィールドを表示・編集します
|
||||
|
||||
<Note>
|
||||
**Don't see Data Model in Settings?**
|
||||
**設定にデータモデルが見当たりませんか?**
|
||||
|
||||
Access to the data model is usually restricted to administrators. Contact your workspace admin if you need access.
|
||||
データモデルへのアクセスは通常、管理者に制限されています。 アクセスが必要な場合は、ワークスペース管理者に連絡してください。
|
||||
</Note>
|
||||
|
||||
## Next Steps
|
||||
## 次のステップ
|
||||
|
||||
Once you've planned your data model:
|
||||
データモデルの計画が完了したら:
|
||||
|
||||
* [How to Create Custom Objects](/l/ja/user-guide/data-model/how-tos/create-custom-objects)
|
||||
* [How to Create Custom Fields](/l/ja/user-guide/data-model/how-tos/create-custom-fields)
|
||||
* [How to Create Relation Fields](/l/ja/user-guide/data-model/how-tos/create-relation-fields)
|
||||
* [カスタムオブジェクトの作成方法](/l/ja/user-guide/data-model/how-tos/create-custom-objects)
|
||||
* [カスタムフィールドの作成方法](/l/ja/user-guide/data-model/how-tos/create-custom-fields)
|
||||
* [リレーションフィールドの作成方法](/l/ja/user-guide/data-model/how-tos/create-relation-fields)
|
||||
|
||||
## Need Help?
|
||||
## ヘルプが必要ですか?
|
||||
|
||||
Our team can help you design and create the data model you need. Discover our [Implementation Services](/l/ja/user-guide/getting-started/capabilities/implementation-services).
|
||||
当社のチームが、必要なデータモデルの設計と作成を支援します。 当社の[実装サービス](/l/ja/user-guide/getting-started/capabilities/implementation-services)をご覧ください。
|
||||
|
||||
Reference in New Issue
Block a user