laptop and a wrench

Bogue

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

Dernière publication: January 25, 2021 ArcGIS API for JavaScript
Numéro d’ID de bogue BUG-000135332
EnvoiNovember 11, 2020
Dernière modificationJanuary 25, 2021
S’applique àArcGIS API for JavaScript
Version trouvée4.17
Système d’exploitationWindows
Version du système d’exploitation10
StatutIn Product Plan

Solution de contournement

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

Étapes pour reproduire

ID de bogue: BUG-000135332

Logiciel:

  • ArcGIS API for JavaScript

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement