> 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/tenpurtono-1.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) 概要

この記事では、Template designer を使用して Data Migrator でテンプレートを作成する方法を説明します。テンプレートを作成したら、以下の記事の手順に従ってオブジェクトを追加できます。

* [テンプレートにオブジェクトを追加する](/data-migrator/data-migrator-ja/tenpurto/tenpurtodezain/tenpurtoniobujekutowosuru.md)

{% hint style="info" %}

#### ルートオブジェクト

その **ルート** オブジェクトは、テンプレートの開始元にしたい Salesforce オブジェクトを表します。次を参照できます。 [Salesforce Developers Portal](https://developer.salesforce.com/docs/platform/data-models/guide/get-started.html) どのオブジェクトがルートオブジェクトと見なされるかを確認できます。たとえば、 **Account** オブジェクトは、〜におけるルートオブジェクトです。 [Salesforce Sales Cloud](https://developer.salesforce.com/docs/platform/data-models/guide/sales-cloud-overview.html)、一方で **Case** オブジェクトは、〜におけるルートオブジェクトと見なされます。 [Salesforce Service Cloud](https://developer.salesforce.com/docs/platform/data-models/guide/service-cloud-overview.html).
{% 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%2FyX1lrWg3IcUcNAJhTxGn%2FCreatingATemplate-S01-01.png?alt=media&amp;token=83e23388-0fd0-4987-adc0-5a1d9e8be66b" alt="" width="563"><figcaption></figcaption></figure></div>
3. をクリックします **組織を選択** ドロップダウンメニュー。
4. テンプレートを作成する組織を選択します。

   <div align="left"><figure><img src="https://1278659608-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FvaxzColPOlNbsq4imqpd%2Fuploads%2FoO35uPXgveKnXa6NzoTd%2FCreatingATemplate-S01-02.png?alt=media&amp;token=c5917cd3-2309-4205-a040-c7607e82ba22" 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%2FxHFQzTiPPbXB8bJGesG8%2FCreatingATemplate-S01-03.png?alt=media&amp;token=ceb90313-c294-4b95-a1bc-7bea82640d7b" alt="" width="563"><figcaption></figcaption></figure></div>

{% endstep %}

{% step %}

### ルートオブジェクトを選択

{% hint style="info" %}

#### ルートオブジェクトとは

ルートオブジェクトは、テンプレートの開始元にしたい Salesforce の最上位オブジェクトを表します。次を参照できます。 [Salesforce Developers Portal](https://developer.salesforce.com/docs/platform/data-models/guide/get-started.html) どのオブジェクトがルートオブジェクトと見なされるかを確認できます。たとえば、Account オブジェクトは〜におけるルートオブジェクトです。 [Salesforce Sales Cloud](https://developer.salesforce.com/docs/platform/data-models/guide/sales-cloud-overview.html)、一方で Case オブジェクトは〜におけるルートオブジェクトと見なされます。 [Salesforce Service Cloud](https://developer.salesforce.com/docs/platform/data-models/guide/service-cloud-overview.html).
{% endhint %}

{% hint style="info" %}
これらの手順では次のものを使用します。 **Account** オブジェクトをルートとして使用します。たとえば。
{% endhint %}

1. をクリックします **ルートオブジェクトを選択** ドロップダウンメニュー。
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%2FCxkfyr3d3Q0oyEwh2UqV%2FCreatingATemplate-S02-01.png?alt=media&amp;token=0b1633ab-7240-4df7-ac42-c11d8672c9cd" 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%2Fzaz3aEQ7xzWylpSUvXQQ%2FCreatingATemplate-S02-02.png?alt=media&amp;token=668a8e17-16f3-45cb-aba0-4006dc489400" alt="" width="563"><figcaption></figcaption></figure></div>

{% 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%2F9jFAe6EkYag4g5l0oNCs%2FCreatingATemplate-S03-01.png?alt=media&amp;token=5ccad3ff-5347-4185-a852-f9be7af3b63e" 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%2FVdF3pSZkMp7poQbjYGEC%2FCreatingATemplate-S03-02.png?alt=media&amp;token=e4364a93-e441-4d5a-8a54-c7eb95e5a69f" alt="" width="563"><figcaption></figcaption></figure></div>

{% endstep %}

{% step %}

### 関連オブジェクトを追加

テンプレートが作成され、ルートオブジェクトが選択されたら、テンプレートにオブジェクトを追加できます。オブジェクトの追加手順については、次の記事を参照してください。

* [テンプレートにオブジェクトを追加する](/data-migrator/data-migrator-ja/tenpurto/tenpurtodezain/tenpurtoniobujekutowosuru.md)
  {% 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
