laptop and a wrench

Bogue

Adding the expressions 'Geometry($feature).x' and 'Geometry($feature).y' on a map service layer pop-up returns the following error message, "Runtime Error: Cannot call member method on null", if the service has multiple layers when added to a web map.

Dernière publication: September 18, 2018 ArcGIS Online
Numéro d’ID de bogue BUG-000115222
EnvoiJuly 9, 2018
Dernière modificationAugust 21, 2020
S’applique àArcGIS Online
Version trouvée6.1
Plateforme serveurN/A
Version Fixed6.3
StatutFixed

Solution de contournement

Add the layers that need the geometry expression for the pop-up individually to the web map, instead of adding the entire service at once. The individually added layers returns the correct results from the expression. 

Étapes pour reproduire

ID de bogue: BUG-000115222

Logiciel:

  • ArcGIS Online

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

En savoir plus sur ce sujet