Hi. In ArcGIS Online using the web map Attribute Expressions builder, I'm trying to pull feature xy coordinates to show in a popup. In the builder, my code successfully tests with a value; but the value in the popup and layer table is empty. I'm using a map service if that matters.
So, is this code supposed to work? Or am I doing something wrong?
Thanks.
Not sure what might be going wrong in your case. I just configured something similar and it works.
I entered the pop-up settings and added two expressions:
and the result is displayed: