| Número de ID do Erro |
BUG-000179915 |
| Enviado | October 3, 2025 |
| Última Modificação | October 12, 2025 |
| Aplica-se à | ArcGIS Field Maps |
| Versão encontrada | 25.2.0 |
| Sistema Operacional | Apple iOS |
| Versão do Sistema Operacional | 18.x |
| Status | Will Not Be Addressed
A equipe de desenvolvimento considerou esse problema ou solicitação e concluiu que não será resolvido. A seção Informações Adicionais do problema pode conter mais explicações.
|
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