laptop and a wrench

Error

Performance degradation is encountered in ArcGIS API for JavaScript 4.x when a large dynamic map service layer referencing a query layer is added to a new map.

Última publicación: January 4, 2019 ArcGIS GIS Server
Número de ID del error BUG-000118425
EnviadoNovember 28, 2018
Última modificaciónJune 5, 2024
Relacionado conArcGIS GIS Server
Versión encontrada10.4.1
Sistema operativoN/A
Versión de sistema operativoN/A
EstadoWill Not Be Addressed

Información adicional

The issue happens on the server end. There are no plans on addressing it in ArcGIS API for JavaScript.

Solución alternativa

When performing a query with the goal of returning a count of features, a possible workaround is to place the following JSON in the in the outStatistics (Output Statistics) parameter at REST while returnCountOnly remains false: [{              "statisticType": "count",              "onStatisticField": "ObjectID",              "outStatisticFieldName": "OIDs"}]This method results in the query results being returned in under 1 second.The Javascript API should use the outStatistics parameter instead of returnCountOnly when retrieving a count of features in a layer upon adding the FeatureLayer to a map.

Pasos para reproducir

ID del error: BUG-000118425

Software:

  • ArcGIS GIS Server

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga