I am working with arcade expressions for a popup window and after only getting the error below I realized something else might be going on. Also I notice that no Global variables are available in the expressions reference pane?!
This is the error I get for any simple function...
Execution Error:Cannot read property 'root' of null
I have no problem doing this in other maps.
I am working with a simple "Parks" point layer, and the map service and feature service have the same result.
Here is the AGOL item
https://orangeville.maps.arcgis.com/home/item.html?id=9bdcb27048ac484bb6a09b2574874640
it just references my AGS map service here
Layer: Parks and Recreation Areas (ID: 0)
and here is the feature service of the same ()
Layer: Parks and Recreation Areas (ID: 0)
Please help me figure this out, I'd like to build my popup with arcade expressions
UPDATE 1: The error in firefox is Execution Error:e._profileGlobals is null (a little more helpful perhaps?!)
UPDATE 2: I uploaded the feature class to AGOL hosted and still the same? here is the AGOL hosted item.
https://orangeville.maps.arcgis.com/home/item.html?id=887861850a3c402dae4f3ac8bff88e1f
Solved! Go to Solution.
Sorry that's a temp work around for now, should be fixed within a couple of days
Your items aren't shared with the public.
sry i didnt have anonymous access to our org... i opened it up...
That does work!
However the same isnt true for the feature service?!
Arcade expressions only on AGS hosted map service root? That can't be?!
What about getting it to work for an AGOL hosted feature services?
It worked the other day on feature service. The AGOL update must've broke it.
Sorry that's a temp work around for now, should be fixed within a couple of days
Seems, during the proxy restriction AGOL unable to initialize the Arcade Editor using attribute collection with HTTPS (secured) service.
Anyway, you can perform the operation without Test it. Just click Ok, if expression is valid.. 🙂
$feature.BASEBALL
Thanks everyone... its working this morning as expected!