laptop and a wrench

Bug

The ArcGIS Arcade DomainName data function applies incorrect values to features when calculating fields in ArcGIS Online.

Last Published: June 1, 2020 ArcGIS Online
Bug ID Number BUG-000130525
SubmittedApril 30, 2020
Last ModifiedJune 5, 2024
Applies toArcGIS Online
Version found8.1
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusKnown Limit

Additional Information

This has to do with query optimizing. Declare the field first in the expression if not already declared to avoid this issue. For example: $feature.Criteria IIf((DomainName($feature,"Criteria")=='Met'),1,0)

Workaround

Use the Field Calculator in ArcGIS Pro with the same expression. Save the edits. Right-click the layer in the Contents pane. Navigate to Sharing > Overwrite Web Layer.

Steps to Reproduce

Bug ID: BUG-000130525

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