如要在 Internet 连接有限或无法访问 Internet 连接的环境中部署 ArcGIS Workflow Manager Server,必须为 Workflow Manager Web 应用程序配置本地资源。
配置底图
Portal for ArcGIS 预先配置了来自可与 ArcGIS Workflow Manager web 应用程序一起使用的 ArcGIS Online 的底图集合。
注:
ArcGIS Online 底图需要 Internet 访问权限。 您需要将 Web 应用程序配置为使用本地底图。
- 在文本编辑器中打开 <Portal for ArcGIS installation location>\apps\workflowmanager\conf\appconfig.json 文件。
- 使用以下格式添加 mapItemId 键和地图项目 ID:"mapItemId": "eae4b56daad2453e915cdc2638c74383"。
- 保存文件。
- 使用 ArcGIS Workflow Manager Server 服务控制台重新启动 Windows 服务。
配置 ArcGIS Survey123
可以安装并配置 ArcGIS Survey123 网站,离线托管用于 Survey123 步骤和 Survey123 Webhook 的调查。
注:
在离线环境中托管的调查无法用于其他 ArcGIS Enterprise 门户或 ArcGIS Online。
以下是为 Workflow Manager 配置 Survey123 的高级步骤:
- 安装 Survey123 网站。
Survey123 必须安装在托管 Workflow Manager 的 Enterprise 门户计算机上。
- 如果您安装的是 Survey123 3.19.1 或较早版本,请为 Survey123 设置反向代理。
- 如果您安装的是 Survey123 3.20 或更高版本,请修改位于 <ArcGIS Survey123 website install location>\ArcGIS\Survey123website 的 config.json 文件。
- 在文本编辑器中,将以下内容添加到该文件,并将 *.domain.com 替换为您的实际域名:
"securityHeader": { "contentSecurityPolicy": { "directives": { "frameAncestors": [ "'self'", "*.domain.com" ] } } } }
- 重新启动 Survey123 网站服务。
- 在文本编辑器中,将以下内容添加到该文件,并将 *.domain.com 替换为您的实际域名:
- 配置适用于离线环境的 Survey123 网站。