ノーコードでクラウド上のデータとの連携を実現。
詳細はこちら →30日間の無償トライアル
無償トライアルはこちら製品の詳細
Dynamics CRM ODBC ドライバーは、ODBC 接続をサポートする任意のアプリケーションからリアルタイムなDynamics CRM アカウントデータに直接接続できるパワフルなツールです。標準のODBC ドライバーインターフェースを使用して、データベースのようにMicrosoft CRM データにアクセスし、潜在顧客、連絡先、営業案件、アカウントなどの読み、書き、更新を実行できます。
古川えりか
コンテンツスペシャリスト
こんにちは!ドライバー周りのヘルプドキュメントを担当している古川です。
The CData ODBC Driver for DynamicsCRM can be used from any platform or development technology that supports ODBC, including Sybase PowerBuilder. This article shows how to connect to Dynamics CRM データ and execute queries from the Database Painter and controls such as the DataWindow.
Follow the steps below to use the Database Painter tool to create a database profile based on an ODBC DSN (data source name) for DynamicsCRM. In the Database Painter, you can use wizards and the UI to work with Dynamics CRM データ.
Dynamics CRM では、インスタンスごとに接続文字列の設定が必要です。 Authentication セクションでは、有効なDynamics CRM のUser、Password の入力、およびDynamics CRM Server Organization root のURL を設定します。さらに、CRMVersion プロパティに、'CRM2011+' もしくは'CRMOnline' を設定します。IFD コンフィグレーションもサポートされていますので、InternetFacingDeployment をTRUE に設定してください。
また、Security Token Service(STS)、もしくはAD FS エンドポイントをSTSURL プロパティに設定することもできます。 この値はGetSTSUrl ストアドプロシージャで取得できます。 Office 365 ユーザーはデフォルトSTS URL にCRMVersion の設定だけで接続することができます。
See the help documentation for a guide to creating a Dynamics CRM DSN.You can use standard PowerBuilder objects to connect to ODBC data sources and execute queries. The following example shows how to retrieve Dynamics CRM データ into a DataWindow. You can add the following code to the open method:
SQLCA.DBMS = "ODBC"
SQLCA.DBParm = "ConnectString='DSN=CData Dynamics CRM Source'"
CONNECT USING SQLCA;
dw_account.SetTransObject(SQLCA);
dw_account.Retrieve();