ノーコードでクラウド上のデータとの連携を実現。
詳細はこちら →30日間の無償トライアル
無償トライアルはこちら製品の詳細
Slack ODBC Driver は、ODBC 接続をサポートする任意のアプリケーションからSlack のリアルタイムなデータに直接接続できるパワフルなツールです。
標準ODBC Driver インターフェースを使用して、データベースのようにSlack データにアクセス(Slack のUser、Channels、Messages、Files などの読み、書き、更新)します。
こんにちは!ドライバー周りのヘルプドキュメントを担当している古川です。
The CData ODBC Driver for Slack can be used from any platform or development technology that supports ODBC, including Sybase PowerBuilder. This article shows how to connect to Slack データ 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 Slack. In the Database Painter, you can use wizards and the UI to work with Slack データ.
Slack はOAuth 認証標準を利用しています。OAuth を使って認証するには、Slack 側でアプリケーションを作成してOAuthClientId、OAuthClientSecret、およびCallbackURL 接続プロパティを取得してください。 認証方法については、ヘルプドキュメントの「Slack への接続」を参照してください。
See the help documentation for a guide to creating a Slack DSN.You can use standard PowerBuilder objects to connect to ODBC data sources and execute queries. The following example shows how to retrieve Slack データ into a DataWindow. You can add the following code to the open method:
SQLCA.DBMS = "ODBC"
SQLCA.DBParm = "ConnectString='DSN=CData Slack Source'"
CONNECT USING SQLCA;
dw_channels.SetTransObject(SQLCA);
dw_channels.Retrieve();