laptop and a wrench

漏洞

When creating a JoinTableDataSource with a DynamicMapLayer and a QueryTableDataSource, columns from the DynamicMapLayer have a random table name.

上次发布: January 25, 2021 ArcGIS API for JavaScript
漏洞 ID 编号 BUG-000135332
已提交November 11, 2020
上次修改时间January 25, 2021
适用范围ArcGIS API for JavaScript
找到的版本4.17
操作系统Windows
操作系统版本10
状态In Product Plan

解决办法

Option 1:

Set the rightTableSource to a TableDataSource instead of a QueryTableDataSource. However, the entire table is joined by performing this. Refer to:

  • TableDataSource: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#TableDataSource
  • QueryTableDataSource: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#QueryTableDataSource

Option 2:

The random column names from the DynamicMapLayer for further steps such as query are in the 'fields' of the Sublayer. Refer to:

  • Sublayer.fields: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-support-Sublayer.html#fields

重现步骤

漏洞 ID: BUG-000135332

软件:

  • ArcGIS API for JavaScript

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项