Pentaho Report Designer にBullhorn CRM データに連携して分析

Pentaho BI ツールでBullhorn CRM のレポートを作成。

加藤龍彦
ウェブデベロッパー

最終更新日:2016-03-16
bullhorncrm ロゴ

CData

jdbc ロゴ画像
Pentaho Report Designer ロゴ

こんにちは!ウェブ担当の加藤です。マーケ関連のデータ分析や整備もやっています。



CData JDBC Driver for BullhornCRM はダッシュボードや帳票ツールからリアルタイムBullhorn CRM データへの連携を可能にします。この記事では、Bullhorn CRM をJDBC データソースとして接続する方法と、Pentaho でBullhorn CRM を元に帳票を作成する方法を説明します。

接続と帳票の作成

  1. インストールディレクトリの[lib]サブフォルダ内のJAR ファイルをコピーし、Pentaho のディレクトリ内の\Report-Designer\lib\jdbc\ フォルダに配置します。
  2. \Report-Designer\ フォルダのreport-designer.bat ファイルを起動し、Report-Designer UI を開きます。
  3. 以下の手順でドライバーを新しいデータソースに設定します。[Data]>[Add Data Source]>[Advanced]>[JDBC (Custom)]とクリックし、新しいBullhorn CRM 接続を作成します。ダイアログが表示されたら、次のように接続プロパティを設定します。

    • Custom Connection URL property:JDBC URL を入力。初めに以下を入力し jdbc:bullhorncrm: 次にセミコロン区切りで接続プロパティを入力します。

      Begin by providing your Bullhorn CRM account credentials in the following:

      If you are uncertain about your data center code, codes like CLS2, CLS21, etc. are cluster IDs that are contained in a user's browser URL (address bar) once they are logged in.

      Example: https://cls21.bullhornstaffing.com/BullhornSTAFFING/MainFrame.jsp?#no-ba... indicates that the logged in user is on CLS21.

      Authenticating with OAuth

      Bullhorn CRM uses the OAuth 2.0 authentication standard. To authenticate using OAuth, create and configure a custom OAuth app. See the Help documentation for more information.

      以下は一般的なJDBC URL です:

      jdbc:bullhorncrm:DataCenterCode=CLS33;OAuthClientId=myoauthclientid;OAuthClientSecret=myoauthclientsecret;
    • Custom Driver Class Name:cdata.jdbc.bullhorncrm.BullhornCRMDriver と入力。
    • User Name:認証するユーザーネーム。
    • Password:認証するパスワード。
    Required connection properties defined in the JDBC URL. (Salesforce is shown.)

レポートに Bullhorn CRM データを追加

これで、Bullhorn CRM の帳票を作成する準備が整いました。

  1. 帳票にBullhorn CRM データソースを追加します:[Data]>[Add Data Source]>[JDBC]をクリックし、データソースを選択します。

  2. クエリを設定します。この記事では次を使います:

    SELECT Id, CandidateName FROM Candidate WHERE CandidateName = 'Jane Doe' The query to retrieve data, specified in the JDBC data source configuration wizard. (Salesforce is shown.)
  3. 帳票にチャートをドラッグし、ダブルクリックしてチャートを編集します。帳票を実行して、チャートを表示します。このクエリ結果を使って、Candidate テーブルのシンプルなチャートを作成することができます。
  4. 帳票を実行して、チャートを見てみましょう。
A chart generated from up-to-date data. (Salesforce is shown.)

関連コンテンツ

トライアル・お問い合わせ

30日間無償トライアルで、CData のリアルタイムデータ連携をフルにお試しいただけます。記事や製品についてのご質問があればお気軽にお問い合わせください。