laptop and a wrench

Bug

Arcade expressions in ArcGIS Pro do not accept attribute values cast as variables and return the error message, "Field not Found."

ArcGIS Pro
Bug ID Number BUG-000166391
SubmittedMarch 29, 2024
Last ModifiedJune 5, 2024
Applies toArcGIS Pro
Version found3.2.2
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusAs Designed

Additional Information

When a script is executed, it is analyzed for fields in use and only those fields are included in the database query. When a variable is used as the field name, it prevents this analysis. The workaround to this issue is to declare the field using the Expects() function which can take wildcards.

Steps to Reproduce

Bug ID: BUG-000166391

Software:

  • ArcGIS Pro

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