{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-@l10n/ja/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"type":"markdown"},"seo":{"title":"Salesforce連携の移行","description":"Salesforceレガシーデータコネクタから新しいSalesforce V2コネクタへの移行手順と、データ特性の詳細な解説を提供します。","siteUrl":"https://docs.treasure.ai","lang":"en-US","jsonLd":{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://www.treasure.ai/","name":"Treasure AI","url":"https://www.treasure.ai/","logo":"https://www.treasure.ai/hubfs/assets/images/logos/primary-logo.svg"},{"@type":"WebSite","@id":"https://docs.treasure.ai/#website","name":"Treasure AI Documentation","url":"https://docs.treasure.ai/","inLanguage":["en","ja"],"publisher":{"@id":"https://www.treasure.ai/"}}]},"llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]}},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"salesforce連携の移行","__idx":0},"children":["Salesforce連携の移行"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["レガシーSalesforce Legacyデータコネクタから新しいSalesforceコネクタへ移行するには、以下の手順を完了してください。レガシーデータコネクタはREST APIのみを使用してデータをインポートします。新しいSalesforceデータコネクタでは、BulkインポートとREST APIを使用できます。"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/int/migrating-salesforce-integrations#characteristics-of-ingested-data"},"children":["取り込まれたデータの特性"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/int/migrating-salesforce-integrations#campaign"},"children":["Campaign"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/int/migrating-salesforce-integrations#contact"},"children":["Contact"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/int/migrating-salesforce-integrations#data-extension"},"children":["Data Extension"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/int/migrating-salesforce-integrations#email-event"},"children":["Email Event"]}]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/int/migrating-salesforce-integrations#create-a-new-salesforce-v2-connector"},"children":["新しいSalesforce V2コネクタの作成"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/int/migrating-salesforce-integrations#save-settings-and-run-the-legacy-salesforce-data-connector-one-last-time"},"children":["設定を保存してレガシーSalesforceデータコネクタを最後にもう一度実行"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/int/migrating-salesforce-integrations#using-td-console"},"children":["Treasure コンソールを使用する場合"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/int/migrating-salesforce-integrations#using-cli-and-workflow"},"children":["CLIとワークフローを使用する場合"]}]}]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/int/migrating-salesforce-integrations#for-result-output"},"children":["結果出力について"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/int/migrating-salesforce-integrations#using-td-console-1"},"children":["Treasure コンソールを使用する場合"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/int/migrating-salesforce-integrations#using-cli"},"children":["CLIを使用する場合"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/int/migrating-salesforce-integrations#using-workflow"},"children":["ワークフローを使用する場合"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"取り込まれたデータの特性","__idx":1},"children":["取り込まれたデータの特性"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ある場所やバージョンからデータを移行する際は、そのデータがどのように変換されるかを認識しておく価値があります。以下のセクションでは、注意すべきいくつかの重要な特性について概説します。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"campaign","__idx":2},"children":["Campaign"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["50を超えるアセットを取り込むことができます。"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"カラム"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["カラム"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"旧データ型"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["旧データ型"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"新データ型"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["新データ型"]}]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["createdDate"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["timestamp"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["modifiedDate"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["timestamp"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"campaign-assets","__idx":3},"children":["Campaign Assets"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"カラム"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["カラム"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"旧データ型"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["旧データ型"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"新データ型"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["新データ型"]}]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["createdDate"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ISO 8601 string"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["その他の日時値はUTCに変換されます。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"contact","__idx":4},"children":["Contact"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["取り込みは以下に制限されています："]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ルートおよびシステム定義データ"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["one-to-one"]},"および",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["one-to-many"]},"のリレーションシップ"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["one-to-oneのリレーションシップは単一のJSONとして保存されます"]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["one-to-manyのリレーションシップはJSON配列として保存されます"]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["その他の属性は、Treasure Dataのインジェスチョン機能を使用して取り込む必要があります。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Contact属性はルートとシステムに対して収集され、取り込む属性を制限することはできません。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ページあたりのレコード数はデフォルト値の2000を使用します。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"data-extension","__idx":5},"children":["Data Extension"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["取り込みは以下に制限されています："]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["一度に1つのData Extension"]}]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"旧カラム名"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["旧カラム名"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"新カラム名"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["新カラム名"]}]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["data-extension-column-name"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["column-name"]}]}]}]}]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"カラム"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["カラム"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"旧データ型"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["旧データ型"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"新データ型"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["新データ型"]}]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"データの形式"},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["データの形式"]}]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["any-datetime"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["string"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["timestamp"]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["UTC"]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure Dataが生成したプロパティには、簡単に識別できるようにアンダースコアのプレフィックス「_」が付いています。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ページあたりのレコード数はデフォルト値の2500を使用します。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"email-event","__idx":6},"children":["Email Event"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["取り込みは、イベントに関連付けられたサブスクライバーを除外します。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"新しいsalesforce-v2コネクタの作成","__idx":7},"children":["新しいSalesforce V2コネクタの作成"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure Data Catalogに移動し、Salesforce v2を検索して選択します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20190920-220512.90e6a331b9492e4811a07d129b52ba372e154827afd21d8b2a86d6bd77e11dfc.a47fdf65.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ダイアログボックスに、レガシーSalesforceコネクタで入力した値を入力します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Salesforce v2コネクタでは、Login URLパラメータから不要な文字を削除する必要があります。たとえば、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://login.salesforce.com/?locale=jp"},"children":["https://login.salesforce.com/?locale=jp"]},"の代わりに、",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"https://login.salesforce.com/?locale=jp"},"children":["https://login.salesforce.com/"]},"を使用します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ユーザー名（メールアドレス）とパスワード、およびClient ID、Client Secret、Security Tokenを入力します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20190920-220620.ea9aff1d36519f589b82fc46eaa23d60b1cabf146a991e1477cd3366738b1e69.a47fdf65.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"設定を保存してレガシーsalesforceデータコネクタを最後にもう一度実行","__idx":8},"children":["設定を保存してレガシーSalesforceデータコネクタを最後にもう一度実行"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["レガシー設定は、Treasure コンソールまたはCLIから保存できます。"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/int/migrating-salesforce-integrations#h2__1588150676"},"children":["Campaign"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/int/migrating-salesforce-integrations#h2_447307630"},"children":["Contact"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/int/migrating-salesforce-integrations#h2__804191579"},"children":["Data Extension"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/int/migrating-salesforce-integrations#h2_1257724182"},"children":["Email Event"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/int/migrating-salesforce-integrations#h2_1852359361"},"children":["Treasure コンソールを使用する場合"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/int/migrating-salesforce-integrations#h2_748752854"},"children":["CLIとワークフローを使用する場合"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/int/migrating-salesforce-integrations#h2_1113801507"},"children":["Treasure コンソールを使用する場合"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/int/migrating-salesforce-integrations#h2__1909512552"},"children":["CLIを使用する場合"]}]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/ja/int/migrating-salesforce-integrations#h2__22747403"},"children":["ワークフローを使用する場合"]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"treasure-コンソールを使用する場合","__idx":9},"children":["Treasure コンソールを使用する場合"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"スケジュール設定されたレガシーsalesforceコネクタの設定を保存し最終インポートを実行","__idx":10},"children":["スケジュール設定されたレガシーSalesforceコネクタの設定を保存し、最終インポートを実行"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Integration Hub > Sourcesに移動します。スケジュール設定されたSalesforceソースを検索し、ソースを選択して",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Edit"]},"を選択します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20190920-220740.bd3854fa9c1f86b66293dcfd44b1707bb6e5d01075ea7b919f906ef9500e5e2b.a47fdf65.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ダイアログボックスで、後で使用するために設定をコピーします："]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20190920-223337.2adf53d0abfebe0118affc5a062201916f90eb341fdb34565cbabfa162b58965.a47fdf65.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["また、詳細設定もコピーします："]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20190920-223416.c23211b8d05c516ff679ff1e03ddd3d78a6a1e46bb0062cb642387c2c0f05a36.a47fdf65.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["次に、レガシーデータコネクタで最後の実行を設定して、config-diffを実行できる一時テーブルを作成します。diffを使用して、Treasure Dataにインポートされた最新のデータを特定し、確認します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20190920-223452.4bf2fa218a9517425dacb967c12df40769e981e8c13a7c1f2ae45db5ba8decb8.a47fdf65.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["レガシーコネクタで最終インポートを実行する前に、スケジュールを1回のみの実行に変更してください："]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20190920-223521.97b218bd0b67056dd5358973c55e88e9b4c4c667b32526fa94565b7750d59a96.a47fdf65.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["ジョブが完了したら、ジョブクエリ情報の",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["config_diff"]},"を確認し、後で使用するためにどこかにコピーします。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20190920-223541.b56a9ac85b1cd27d402643428847df0a61045b7641ee3f81a8284d27a18b0493.a47fdf65.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"新しいsalesforce-v2ソースの作成","__idx":11},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["新しいSalesforce V2ソースの作成"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Integration Hub > Authentication に移動します。作成した新しい Salesforce v2 接続を検索します："]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20190920-223620.7c996d3ecda4cd5281739073f28ce744338c3093e24dae3b0a3db44fe6044d77.a47fdf65.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["新しいソースを選択します。前のステップでコピーしたすべての基本設定と詳細設定を入力します。次に、新しいソースがレガシーコネクタが中断した地点から取り込みを続行する場合は、前のジョブでコピーした config_diff 情報を Last Record フィールドに入力します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20190920-223653.2f41e4091afd038a05037227d49d15c460bc098eafc64af39b885d9c225d5f22.a47fdf65.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["設定を完了したら、データを投入するデータベースとテーブルジョブを選択し、ジョブをスケジュールして、新しいデータコネクタの名前を指定します。",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Save"]}," を選択してから、新しいデータコネクタを実行します。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"cli-と-workflow-の使用","__idx":12},"children":["CLI と Workflow の使用"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["in: type を sfdc から sfdc_v2 に yml 設定で更新します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["例えば、既存の workflow 設定は次のようになっているかもしれません："]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"in:\n  type: sfdc\n  username: ${secret:sfdc.username}\n  password: ${secret:sfdc.password}\n  client_id: ${secret:sfdc.client_id}\n  client_secret: ${secret:sfdc.client_secret}\n  security_token: ${secret:sfdc.security_token}\n  login_url: ${secret:sfdc.login_url}\n  target: Lead\nout: {}\nexec: {}\nfilters: []\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["新しい workflow 設定は次のようになります："]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"in:\n  type: sfdc_v2\n  username: ${secret:sfdc.username}\n  password: ${secret:sfdc.password}\n  client_id: ${secret:sfdc.client_id}\n  client_secret: ${secret:sfdc.client_secret}\n  security_token: ${secret:sfdc.security_token}\n  login_url: ${secret:sfdc.login_url}\n  target: Lead\nout: {}\nexec: {}\nfilters: []\n"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"result-output-について","__idx":13},"children":["Result Output について"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["SFDC 接続はデータコネクタと Result Output で共有されていますが、Result Output には変更はありませんが、いずれかを使用している場合は、こちらもアップグレードする必要があります。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"treasure-コンソール-の使用","__idx":14},"children":["Treasure コンソール の使用"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"レガシー-export-コネクタの設定を保存する","__idx":15},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["レガシー Export コネクタの設定を保存する"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Treasure コンソール に移動します。Query Editor に移動します。SFDC を接続に使用している Query を開きます。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20190920-223748.6045bf691a26e9cff3e37e890e76be4628cf82bb8e01eb79af5bdbdb26902e42.a47fdf65.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["SFDC コネクタを選択し、既存の接続の詳細をコピーして保存し、後で使用できるようにします。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20190920-223817.da15e7766ba6d24cc18ba368e4d32ed9a2376d2faa5bb7282b57c604f05f76c8.a47fdf65.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["DELETE"]}," を選択してレガシーのものを削除します。"]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"既存の-query-を変更するレガシー接続を置き換える","__idx":16},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["既存の Query を変更する（レガシー接続を置き換える）"]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Query で Output Results を選択します。次に、作成した SFDC v2 Export コネクタを検索して選択することで、SFDC v2 コネクタをセットアップします。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/image-20190920-223850.847f20da49fae475453d03d1fb0c5c966d1486f75499c347f0016a29f2841f28.a47fdf65.png","alt":""},"children":[]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Configuration ペインで、前のステップで保存したフィールドを指定し、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Done"]}," を選択します。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Output results to... を確認して、作成した Output 接続を使用していることを確認します。",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Save"]}," を選択します。"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":""},"children":[]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":["最初のデータエクスポートにテストターゲットを作成して使用し、エクスポートされたデータが期待通りに見えること、および新しいエクスポートが既存のデータを破損しないことを確認することを強くお勧めします。テストケースでは、テストターゲットに別の「Object」を選択してください。"]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"cli-の使用","__idx":17},"children":["CLI の使用"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Result type プロトコルは sfdc から sfdc_v2 に更新する必要があります。例えば、次のように："]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"sfdc://username:passwordsecurity_token@hostname/object_name\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["から："]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"sfdc_v2://username:passwordsecurity_token@hostname/object_name\n"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"workflow-の使用","__idx":18},"children":["Workflow の使用"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["SFDC を使用した workflow がある場合、result 設定は同じままにできますが、",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["result_connection"]}," を新しい connection_name に更新する必要があります。"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["古い workflow の result output 設定の例は次のとおりです："]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"+td-result-output-sfdc:\n  td>: queries/sample.sql\n  database: sample_datasets\n  result_connection: your_old_connection_name\n  result_settings:\n    object: object_name\n    mode: append\n    concurrency_mode: parallel\n    retry: 2\n    split_records: 10000\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["新しい workflow の result output 設定の例は次のとおりです："]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"+td-result-output-sfdc:\n  td>: queries/sample.sql\n  database: sample_datasets\n  result_connection: your_new_connection_name\n  result_settings:\n    object: object_name\n    mode: append\n    concurrency_mode: parallel\n    retry: 2\n    split_records: 10000\n"},"children":[]}]},"headings":[{"value":"Salesforce連携の移行","id":"salesforce連携の移行","depth":1},{"value":"取り込まれたデータの特性","id":"取り込まれたデータの特性","depth":1},{"value":"Campaign","id":"campaign","depth":2},{"value":"Campaign Assets","id":"campaign-assets","depth":3},{"value":"Contact","id":"contact","depth":2},{"value":"Data Extension","id":"data-extension","depth":2},{"value":"Email Event","id":"email-event","depth":2},{"value":"新しいSalesforce V2コネクタの作成","id":"新しいsalesforce-v2コネクタの作成","depth":1},{"value":"設定を保存してレガシーSalesforceデータコネクタを最後にもう一度実行","id":"設定を保存してレガシーsalesforceデータコネクタを最後にもう一度実行","depth":1},{"value":"Treasure コンソールを使用する場合","id":"treasure-コンソールを使用する場合","depth":2},{"value":"スケジュール設定されたレガシーSalesforceコネクタの設定を保存し、最終インポートを実行","id":"スケジュール設定されたレガシーsalesforceコネクタの設定を保存し最終インポートを実行","depth":3},{"value":"新しいSalesforce V2ソースの作成","id":"新しいsalesforce-v2ソースの作成","depth":3},{"value":"CLI と Workflow の使用","id":"cli-と-workflow-の使用","depth":2},{"value":"Result Output について","id":"result-output-について","depth":1},{"value":"Treasure コンソール の使用","id":"treasure-コンソール-の使用","depth":2},{"value":"レガシー Export コネクタの設定を保存する","id":"レガシー-export-コネクタの設定を保存する","depth":3},{"value":"既存の Query を変更する（レガシー接続を置き換える）","id":"既存の-query-を変更するレガシー接続を置き換える","depth":3},{"value":"CLI の使用","id":"cli-の使用","depth":2},{"value":"Workflow の使用","id":"workflow-の使用","depth":2}],"frontmatter":{"seo":{"title":"Salesforce連携の移行","description":"Salesforceレガシーデータコネクタから新しいSalesforce V2コネクタへの移行手順と、データ特性の詳細な解説を提供します。"}},"lastModified":"2026-06-17T07:22:53.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/ja/int/migrating-salesforce-integrations","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}