---
title: "連絡先で移行するカスタムファセットを選択してマッピングしてください"
slug: "select-and-map-custom-facets-to-be-migrated-with-your-contacts"
abstract: "xDBのカスタムファセットをCDPのCDPゲスト拡張機能にマッピングします。"
---
# 連絡先で移行するカスタムファセットを選択してマッピングしてください

xConnectからCDPに転送する連絡先には複数のデフォルトファセットがあります。カスタムファセットがある場合は、手動で選択し、ファセットプロパティをCDPのゲスト拡張データにマッピングする必要があります。

> !重要レシピを設定または実行 *する前に* 、カスタムファセットを選択してマッピングしてください。

カスタムファセットを選択してマッピングするには:

1.  **IDステップで「xConnectから連絡先を取得する**」をクリックしてください。
    
    ![The action that gets contacts from xConnect by their ID](https://doc.sitecore.com/api/markdown-image/xp/ja/developers/93/sitecore-experience-platform/images/xdb-cdp-get-contact-facets.png)
    
2.  「 **ファセットで展開** 」セクションで、欲しいカスタムファセットごとに対応するチェックボックスを選び、**OK**をクリックします。
    
    ![Select the xDB custom facets to be mapped with guest extension data in CDP](https://doc.sitecore.com/api/markdown-image/xp/ja/developers/93/sitecore-experience-platform/images/xdb-cdp-select-custom-facets.png)
    
    > !注メール、個人、住所、電話番号、リスト購読は必須であり、リストには表示されません。
    
3.  マッピングを行うステップをクリックしてください。こちらに示されています:
    
    ![Step for mapping XP contacts with CDP guests](https://doc.sitecore.com/api/markdown-image/xp/ja/developers/93/sitecore-experience-platform/images/xdb-cdp-where-the-mapping-happens.png)
    
4.  **入力フィールド**セクションで**「スキーマ編集**」をクリックします。
    
    ![Edit schema while mapping XP contacts with CDP guests](https://doc.sitecore.com/api/markdown-image/xp/ja/developers/93/sitecore-experience-platform/images/xdb-cdp-edit-schema.png)
    
5.  ファセットを変数としてextensionsに追加し、「 **更新」**をクリックします。例はカスタムファセットの*CinemaVisitorBonus*と*CinemaVisitorInfo*を示しています。
    
    {
     "control\_type": "text",
     "label": "CinemaVisitorBonus",
     "type": "string",
     "name": "CinemaVisitorBonus"
     },
     {
     "control\_type": "text",
     "label": "CinemaVisitorInfo",
     "type": "string",
     "name": "CinemaVisitorInfo"
     },
    
6.  拡張機能セクションで、新たに追加されたフィールドを一つずつクリックし、CDPの必須フィールドにマッピング **します** (こちらのように):
    
    ![The Extensions section for mapping XP contacts with CDP guests](https://doc.sitecore.com/api/markdown-image/xp/ja/developers/93/sitecore-experience-platform/images/xdb-cdp-map-custom-facet-fields-to-cdp.png)