跳转至

Server setup(服务器设置)

You can now access Palantir Foundry datasets from Qlik Sense and use them to build interactive dashboards. To use Foundry with Qlik Sense, you must have the Foundry ODBC Driver installed on your Qlik Sense server.

Follow the below guide to complete the setup. These steps must be completed by someone with access to the Qlik Sense server.

Step 1: Install the ODBC Driver

Navigate to the Downloads Page: ODBC Driver to download the driver. Install it on the Qlik Sense server.

Step 2: Configure the Foundry DSNs

Qlik Sense requires ODBC DSNs to be pre-configured.

  1. On the Qlik Sense server, open the Windows ODBC Administration tool, and create a new System DSN for the FoundrySqlDriver.
  2. Set your Foundry URL as the server.
  3. Select "Additional Properties", and add a new property UserAgent with a value of QLIKSENSE. This will enable settings optimized for Qlik Sense.
  4. Click OK to save the DSN.

We recommend leaving the access token field blank in the DSN, and setting it later when you create a connection within Qlik Sense. Keep in mind that if you set a token within the DSN, anyone with access to that DSN within Qlik will be able to view the data the token provides access to.

:::callout{theme="warning" title="UserAgent property"} It is important to set the UserAgent property. Without it, data will not load correctly. :::

(Optional) Step 3: Pre-configure Qlik Sense connections

If users are able to create their own connections within Qlik Sense, you can skip this step. Otherwise, you'll need to pre-configure the Foundry connections and grant access to users. See the Getting Started guide for how to create connections.


中文翻译


服务器设置

您现在可以从 Qlik Sense 访问 Palantir Foundry 数据集,并使用它们构建交互式仪表板。要在 Qlik Sense 中使用 Foundry,您必须在 Qlik Sense 服务器上安装 Foundry ODBC 驱动程序。

请按照以下指南完成设置。这些步骤必须由有权访问 Qlik Sense 服务器的人员执行。

步骤 1:安装 ODBC 驱动程序

导航至下载页面:ODBC 驱动程序下载驱动程序。将其安装在 Qlik Sense 服务器上。

步骤 2:配置 Foundry DSN

Qlik Sense 需要预先配置 ODBC DSN。

  1. 在 Qlik Sense 服务器上,打开 Windows ODBC 管理工具,为 FoundrySqlDriver 创建一个新的系统 DSN。
  2. 将您的 Foundry URL 设置为服务器。
  3. 选择"附加属性",添加一个新属性 UserAgent,其值为 QLIKSENSE。这将启用针对 Qlik Sense 优化的设置。
  4. 点击确定保存 DSN。

我们建议在 DSN 中将访问令牌字段留空,稍后在 Qlik Sense 中创建连接时再进行设置。请注意,如果您在 DSN 中设置了令牌,任何在 Qlik 中有权访问该 DSN 的人都能查看该令牌所授权访问的数据。

:::callout{theme="warning" title="UserAgent 属性"} 设置 UserAgent 属性非常重要。如果不设置,数据将无法正确加载。 :::

(可选)步骤 3:预配置 Qlik Sense 连接

如果用户能够在 Qlik Sense 中自行创建连接,您可以跳过此步骤。否则,您需要预配置 Foundry 连接并授予用户访问权限。有关如何创建连接的说明,请参阅入门指南