laptop and a wrench

Bug

The Arcade expression that sorts enriched features behave differently between the field calculation and the attribute expression.

Last Published: May 31, 2022 ArcGIS Online
Bug ID Number BUG-000149336
SubmittedMay 18, 2022
Last ModifiedJune 5, 2024
Applies toArcGIS Online
Version found10.1
Operating SystemN/A
Operating System VersionN/A
StatusWill Not Be Addressed

Additional Information

This does not appear to be a bug with Arcade. When programmatically building field names, it is required to use the Expects function. Refer to this link for more information: https://developers.arcgis.com/arcade/function-reference/data_functions/#expects. The Expects function forces field recognition so that fields are properly queried and the expression executes as expected. Not all profiles have this field optimization, when in doubt, use expects().

Workaround

Use an attribute expression in the pop-up to calculate the sorted value.

Steps to Reproduce

Bug ID: BUG-000149336

Software:

  • ArcGIS Online

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options