本記事では CData サポート担当からこんなことを聞かれたらどこを確認すべきか?という観点で、よく頂くお問合せ内容をご紹介します。
記事はこちら →CData Excel Add-In for ADP の関数を使って、スプレッドシートにデータを取り込むことができます。下記の3つの手順では、次のタスクを自動化する方法について説明します:ユーザー定義の値でADP を検索し、その結果をExcel スプレッドシートに出力します。
CDATAQUERY 関数の構文は次のとおりです:
=CDATAQUERY(Query, [Connection], [Parameters], [ResultLocation]);
この関数に入力する値は以下の3つです:
Connect to ADP by specifying the following properties:
The connector uses OAuth to authenticate with ADP. OAuth requires the authenticating user to interact with ADP using the browser. For more information, refer to the OAuth section in the Help documentation.
下記の処理では、すべての関数インプットをひとつ目のカラムでオーガナイズするスプレッドシートができます。
=CDATAQUERY("SELECT * FROM Workers WHERE AssociateOID = '"&B5&"'","OAuthClientId="&B1&";OAuthClientSecret="&B2&";SSLClientCert="&B3&";SSLClientCertPassword="&B4&";Provider=ADP",B6)