laptop and a wrench

Erro

ArcGIS Field Maps 25.2 returns the error message "Unable to Load All Data. Some expressions failed to evaluate" when a pop-up contains an Arcade expression that returns an empty FeatureSet.

ArcGIS Field Maps
Número de ID do Erro BUG-000179915
EnviadoOctober 3, 2025
Última ModificaçãoOctober 12, 2025
Aplica-se àArcGIS Field Maps
Versão encontrada25.2.0
Sistema OperacionalApple iOS
Versão do Sistema Operacional18.x
StatusWill Not Be Addressed

Informações Adicionais

In the latest release of ArcGIS Field Maps, this is not a valid expression since the variable being accessed in the return expression has not been declared when the FeatureSet is empty. To remedy this, move the declaration of the variable in the for loop outside the loop. var wetlands = FeatureSetByName($map, "Layer 2"); var intNWis = Intersects($feature, wetlands); var intwetland; for (var n in intNWls){ intwetland = n.ATTRIBUTE; return intwetland;

Solução Provisória

Add a conditional statement to return the FeatureSet only when the count is not zero:

if(Count(featureSetName)>0){}

Etapas para Reproduzir

ID do Erro: BUG-000179915

Software:

  • ArcGIS Field Maps

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download