> For the complete documentation index, see [llms.txt](https://docs.flosum.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flosum.com/data-migrator/data-migrator-ja/tenpurto/tenpurtodezain/obujekutonifrudowosuru.md).

# オブジェクトにフィールドを追加する

## ![](https://1278659608-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvaxzColPOlNbsq4imqpd%2Fuploads%2FcfMTqg4Brbm9baWutclZ%2FSummary2-Small-Icon.svg?alt=media\&token=d1cf162d-c02d-4184-988e-7f7350e450fc) 概要

このガイドでは、テンプレート内のオブジェクトにフィールドを追加する方法について説明します。データ移行中に移行されるのは、選択されたオブジェクトのフィールドのみです。

{% hint style="warning" %}

#### リレーションシップの保持

移行中に親レコードと子レコード間のリンクを保持するには、移行された子レコードには **リレーションシップ項目** 親レコードにそれらを接続するものです。これは、マスター詳細リレーションと参照関係の両方に適用されます。詳細については、次の記事を参照してください。

* [オブジェクトの関連を維持する](/data-migrator/data-migrator-ja/tenpurto/tenpurtodezain/obujekutonowosuru.md)
  {% endhint %}

## フィールドを追加

{% stepper %}
{% step %}

### テンプレートを選択

1. クリック **テンプレート** を左側のサイドバーメニューから選択します。
2. オブジェクトフィールドを追加するテンプレートをクリックします。

   <div align="left"><figure><img src="https://1278659608-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvaxzColPOlNbsq4imqpd%2Fuploads%2FbPd3RWVowhXR0pqcZ3oZ%2FAddingFieldsToObjects-S01-01.png?alt=media&amp;token=470796c7-7cc0-4fda-abb9-4a0355c4ba38" alt="" width="563"><figcaption></figcaption></figure></div>

{% endstep %}

{% step %}

### フィールドを追加

{% hint style="info" %}

#### データマスキング

データマスキングを使用すると、移行中に機密フィールドを、ターゲット組織にコピーされる前にランダムなデータに置き換えてマスクできます。データマスキングの詳細やフィールドへの適用方法については、次の記事を参照してください。

* [フィールドへのデータマスキングの適用](/data-migrator/data-migrator-ja/tenpurto/tenpurtodezain/frudohenodtamasukinguno.md)
  {% endhint %}

1. フィールドを追加するオブジェクトをクリックします。

   <div align="left"><figure><img src="https://1278659608-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvaxzColPOlNbsq4imqpd%2Fuploads%2FyBMtUgQQHelHmuH5Ejvb%2FAddingFieldsToObjects-S02-01.png?alt=media&amp;token=81f375e2-8928-407e-bbee-169ffdf5553a" alt="" width="563"><figcaption></figcaption></figure></div>
2. オブジェクトの **フィールド一覧** がデザイナーの右側に開きます。
3. 検索するかスクロールして、追加するフィールドを見つけます。

   <div align="left"><figure><img src="https://1278659608-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvaxzColPOlNbsq4imqpd%2Fuploads%2FL5h3coFeHSr5L2s0H8i5%2FAddingFieldsToObjects-S02-02.png?alt=media&amp;token=9ab55084-6e8a-4dba-8a32-0d85a60665a7" alt="" width="563"><figcaption></figcaption></figure></div>
4. 追加する各フィールドの横にあるチェックボックスをオンにします。

   <div align="left"><figure><img src="https://1278659608-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvaxzColPOlNbsq4imqpd%2Fuploads%2Fmu01EUO5l5XbhcCk22AA%2FAddingFieldsToObjects-S02-03.png?alt=media&amp;token=eb11daad-2205-44b7-86c6-c09d6fb50cea" alt="" width="563"><figcaption></figcaption></figure></div>
5. クリック **保存** をクリックします。すべての追加するフィールドにチェックを入れたら、

   <div align="left"><figure><img src="https://1278659608-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvaxzColPOlNbsq4imqpd%2Fuploads%2FjGqSQIcCdwlmLKe3cptc%2FAddingFieldsToObjects-S02-04.png?alt=media&amp;token=d1db4b5d-32de-40c6-b4c0-2a07231a50ec" alt="" width="563"><figcaption></figcaption></figure></div>
6. その **フィールド** 数は、選択されたフィールドの新しい数を反映して更新されます。
7. 必要なだけこの手順を繰り返して、オブジェクトにフィールドを追加します。
   {% endstep %}

{% step %}

### テンプレートを保存

オブジェクトへのフィールド追加が完了したら:

1. クリック **テンプレートを保存** して変更を保存します。

   <div align="left"><figure><img src="https://1278659608-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvaxzColPOlNbsq4imqpd%2Fuploads%2FSAxFOvQqOKGUh3zrOuJ9%2FAddingFieldsToObjects-S03-01.png?alt=media&amp;token=17d7f6de-4f48-4e46-b4ae-95438cbce4e9" alt="" width="563"><figcaption></figcaption></figure></div>

{% endstep %}
{% endstepper %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.flosum.com/data-migrator/data-migrator-ja/tenpurto/tenpurtodezain/obujekutonifrudowosuru.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
