本記事では CData サポート担当からこんなことを聞かれたらどこを確認すべきか?という観点で、よく頂くお問合せ内容をご紹介します。
記事はこちら →Excel をUIにした業務アプリ開発ツール「StiLL Standard」には、ODBC でデータベースからのデータを使う機能が備わっているので、これを使ってGoogle Data Catalog データ連携を行うことが可能です。 通常、Google Data Catalog などのSaaS として提供されるアプリケーションにはWeb API でアクセスしますが、CData ODBC Driver によって、RDB にアクセスするのと同感覚で、Google Data Catalog のデータを扱うことができます。
CData ODBC Driver for Google Data Catalog のDSN をStiLL で選択します。
未指定の場合は、初めにODBC DSN (data source name) で接続プロパティを指定します。ドライバーのインストールの最後にアドミニストレーターが開きます。Microsoft ODBC Data Source Administrator を使用して、ODBC DSN を作成および構成できます。
Google Data Catalog uses the OAuth authentication standard. Authorize access to Google APIs on behalf on individual users or on behalf of users in a domain.
Before connecting, specify the following to identify the organization and project you would like to connect to:
Click the project selection drop-down, and select your organization from the list. Then, click More -> Settings. The organization ID is displayed on this page.
Find this by navigating to the cloud console dashboard and selecting your project from the Select from drop-down. The project ID will be present in the Project info card.
When you connect, the OAuth endpoint opens in your default browser. Log in and grant permissions to the application to completes the OAuth process. For more information, refer to the OAuth section in the Help documentation.
一般的な接続文字列は次のとおりです:
ProjectId=YourProjectId;
DSN はビルトインのMicrosoft ODBC データソースアドミニストレーターで設定できます。これはドライバーのインストールの最後の手順です。 Microsoft ODBC データソースアドミニストレーターを使ってDSN を作成および設定する方法は、ヘルプドキュメントの「はじめに」をご参照ください。
StiLL ボタンのBtQuery ウィザードが開くので、Google Data Catalog からデータを指定して、StiLL アプリケーションに取り込みます。