Select to view content in your preferred language

All Arcade expression results not included as symbol classes in new Map Viewer

631
3
Jump to solution
04-18-2022 11:33 AM
Labels (2)
HollyTorpey_LSA
Frequent Contributor

Hi all,

I have a very simple Arcade expression that is being used to create symbol categories based on two fields, ObservationType and LiveAnimal:

HollyTorpey_LSA_0-1650306538058.png

When tested, the result is as expected.

However, when I use the expression to symbolize my points, I get this: 

HollyTorpey_LSA_1-1650306640623.png

Even the test expression from the Expression window ("Other sign") doesn't show up. They're all lumped together into a single " sign" category.

Does anyone have any idea what's going wrong?

Thanks!

- Holly
0 Kudos
1 Solution

Accepted Solutions
KenBuja
MVP Esteemed Contributor

I see this happening in a test I run using my data with domains. Can you use

 

} else return $feature.ObservationType + " sign";

 

instead of using DomainName?

View solution in original post

3 Replies
KenBuja
MVP Esteemed Contributor

I see this happening in a test I run using my data with domains. Can you use

 

} else return $feature.ObservationType + " sign";

 

instead of using DomainName?

HollyTorpey_LSA
Frequent Contributor

@KenBuja You're right! That did it. Thank you!!

Weird, though. 

- Holly
0 Kudos
KenBuja
MVP Esteemed Contributor

I would recommend that you open a bug incident about this with Esri

0 Kudos