| Bug ID Number |
BUG-000149336 |
| Submitted | May 18, 2022 |
| Last Modified | June 5, 2024 |
| Applies to | ArcGIS Online |
| Version found | 10.1 |
| Operating System | N/A |
| Operating System Version | N/A |
| Status | Will Not Be Addressed
The development team has considered the issue or request and concluded it will not be addressed. The issue's Additional Information section may contain further explanation.
|
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