为与先前版本的 Esri Maps for IBM Cognos 相关的存档文件。如果您需要使用当前版本,请转至 http://doc.arcgis.com/zh-cn/maps-for-cognos/

配置登录设置

Esri Maps for IBM Cognos 需要 ArcGIS Online 组织订阅或内部部署的 Portal for ArcGIS。假设 ArcGIS 管理员已正确配置了访问平台时所用的身份验证方法。

在开始之前,您需要以下信息:

配置文件

配置文件在 EM4C Gateway 中位于以下位置:<em4c_location>/webcontent/esrimap/configuration/settings.js

指定登录属性

大多数情况下,您将仅配置以下登录属性:

  • arcgisUrl - ArcGIS Online 组织或 Portal for ArcGIS 部署。

    对于 ArcGIS Online,默认值为 http://www.arcgis.com;要输入其他值,请使用格式 http://[orgAccount].arcgis.com,其中 [orgAccount] 是组织的 ArcGIS Online 帐户的名称。对于 Portal for ArcGIS,格式为 http://[portalUrl]/[portalVirtualDirectory]。

  • arcgisAuthType - 登录方式。可用值为用户应用程序;默认值为用户

  • arcgisAppId - 指定唯一应用程序 ID(ArcGIS OnlinePortal for ArcGIS 10.3 及更高版本)。

    例如 (ArcGIS Online):

    arcgisUrl: "http://www.arcgis.com",
    arcgisAuthType: "user",
    arcgisAppId: "nvgHDDFXzMRWmKfY"
    

    例如(Portal for ArcGIS 10.3 及更高版本,无 web 服务器身份验证):

    arcgisUrl: "http://myportal.mycompany.com/arcgis", arcgisAuthType: "user",
    arcgisAppId: "nvgHDDFXzMRWmKfY"
    

    例如(Portal for ArcGIS 10.3 之前版本,或使用 web 服务器身份验证):

    arcgisUrl: "http://myportal.mycompany/arcgis",
    arcgisAuthType: "user",
    arcgisAppId: ""
    

其他登录设置

在特定情况下,也可通过将 arcgisAuthType 设置为 app 并指定用户名 (arcgisAppUser) 和密码 (arcgisAppPassword) 的方式,配置代表 Esri Maps for IBM Cognos 的指定用户帐户。值得注意的是此产品已作为 ArcGIS Online 计划订阅的授权或 Portal for ArcGIS 指定用户许可进行提供,并且全部许可要求均已生效。只有具有指定用户许可的用户才可以访问 ArcGIS 并与地图进行交互。有关详细信息,请联系当地 Esri 代表。

例如:

arcgisUrl: "http://www.arcgis.com",
arcgisAuthType: "app",
arcgisAppUser: "arcgis_user",
arcgisAppPassword: "arcgis_pwd"