Heroku Connect 再入門
イシュー
- Developer エディションで、Heroku Connectの確認ができるかの確認
参考
- https://devcenter.heroku.com/articles/getting-started-with-heroku-and-connect-without-local-dev#introduction
- この no-local-dev-getting-startd から実験
- GitHub - heroku/no-local-dev-getting-started: A web-based Heroku and Heroku Connect, Getting Started experience
アプリケーションをリリースし、Heroku Postgres データベースをプロビジョニングする 単元 | Salesforce
- treailhead の手順にある、herokuボタンから、heroku.connect 連携アプリができる
- GitHub - jamesward/heroku-connect-phone-change
- Heroku ConnectでForce.com上に作ったカスタムオブジェクトの内容を表示してみる | アピリオ
- Heroku Connectの注意点
- 親子関係のあるレコードを同時にinsertする方法
- 親オブジェクトが外部IDを持っていれば、子オブジェクトの子オブジェクトの項目一覧にその外部IDが現れます。らしい
- 取引先(親)ー取引先責任者(子)であれば、取引先責任者を連携する際に、外部IDが現れるか確認
- 親子関係のあるレコードを同時にinsertする方法
Selecting "AccountExternal_IDc" will also select "AccountId". The referenced values are required to successfully map "AccountExternal_IDc" back to "Account". Including ExternalId fields from other objects can slow down the initial data load. Are you sure you want to continue?
This mapping currently has 1 configuration warning. You can continue and save this mapping with configuration warnings. However, this is not recommended and you should attempt to fix them before continuing. Warnings Read-only mappings should not contain synthetic fields: AccountExternal_IDc
「AccountExternal_IDc」を選択すると、「AccountId」も選択されます。 参照された値は、 "AccountExternal_IDc"を "Account"に正常にマッピングするために必要です。 他のオブジェクトからのExternalIdフィールドを含めると、初期データの読み込みが遅くなる可能性があります。 続行してもよろしいですか?
このマッピングには現在1つの設定警告があります。 設定の警告とともにこのマッピングを保存して保存することができます。 ただし、これはお勧めできません。続行する前に修正するようにしてください。 警告 読み取り専用マッピングには、合成フィールドが含まれていてはなりません。AccountExternal_IDc
- Heroku Connect Diagnostics | Heroku Dev Center
Writing Data to Salesforce with Heroku Connect | Heroku Dev Center
- 書き込みするにはユニークIDが必要
Build Customer Experience (CX) Apps | Heroku
- Heroku Connect 実装サンプル
Nibs Loyalty Program Sample App
- Salesforce側App
- Heroku - Nibs Loyalty Program Sample App ~ Store
- https://github.com/heroku/nibs:tilte
Nibsロイヤルティプログラムサンプルアプリケーション ViewプロジェクトをGitHubにデプロイする Heroku上のハイブリッドウェブ/モバイルアプリデベロッパーのベースモデルとして提供されるサンプルロイヤリティプログラムアプリ。 HTML、CSS、JavaScriptで構成されるAngularJSのハイブリッドアプリケーションとして構築されたサーバー側は、Postgresデータベース上で動作するNode.jsアプリケーションとして実装されています。 アプリユーザーは、架空のハイエンドチョコレート小売店Nibsで、ショッピングやソーシャルシェアリングを通じてロイヤリティープログラムのポイントを登録し、獲得します。 この基本的なアプリ体験は、他のSalesforce製品との統合をさらに強化して、より魅力的な顧客体験を作成することができます。 どのように動作するかを見るためにビデオを見てください。
- heroku で作ってみたが、Salesforce側の準備はどうするのか。