AnsweredAssumed Answered

Popups in Portal: Is the geometry object available in Arcade expressions with Map Image Layers?

Question asked by kurtis.gagne_NewGold on Dec 18, 2018

I'm using ArcGIS Enterprise 10.6.1 with ArcGIS Portal 10.6.1 with data in SQL Server 2014.


I've been attempting to build a ArcGIS Portal map popup with a custom attribute expression written in Arcade to calculate X and Y from the Geometry object.


However it seems like the Arcade geometry object is Null in all Map Image Layers (these are dynamically drawn and the data is stored in an enterprise geodatabase).


On a dynamically drawn Map Image Layer, 'Text($feature)' returns:


I do have fields for the X and Y however they are not dynamic when the points moves which is why I want to calculate from the geometry of the point.


On a Feature Layer drawn from the same data source, 'Text($feature)' returns:



There's no mention of this limitation in the documentation that I can find. If it truly isn't supported in Map Image Layers that throws a wrench in my plans. I can understand tiled map image services not supporting this, but i really think it should work in dynamic ones that support Query operations.


Anyone have the same issue or any work-arounds? I'm thinking about filing a bug report/feature request.