ERROR

ArcGIS Field Maps: Arcade expression is invalid

Last Published: March 21, 2024

Error Message

When collecting features in the ArcGIS Field Maps mobile app for Portal for ArcGIS using a map containing attribute rules configured in ArcGIS Pro, the following error message is returned:

Error:
Arcade expression is invalid.
ArcGIS Field Maps for Portal for ArcGIS.

Cause

The 'Exclude from application evaluation' option is disabled in ArcGIS Pro, resulting in attribute rules being evaluated locally prior to the application of edit requests to ArcGIS Enterprise. Refer to ArcGIS Pro: Exclude from application evaluation for more information.

Solution or Workaround

  1. Open the ArcGIS Pro project.
  2. In the Contents pane, right-click the layer with the attribute rule configured.
  3. Click Data Design > Attribute Rules.
The Contents pane in ArcGIS Pro.
  1. In the Attribute Rules: <feature layer> view, click the Calculation tab.
  2. In the New Rule pane, expand the Execution node and check the Exclude from application evaluation check box.
The New Rule pane in ArcGIS Pro.
  1. On the ribbon, click the Attribute Rules tab.
  2. In the Attribute Rules group, click Save.
  3. Overwrite the web layer. Refer to ArcGIS Pro: Overwrite a web feature layer for further instructions.

Article ID:000031719

Software:
  • ArcGIS Pro 3 2
  • ArcGIS Enterprise 11 2
  • ArcGIS Field Maps iOS
  • ArcGIS Field Maps Android
  • ArcGIS Pro 3 0
  • ArcGIS Enterprise 11 1
  • ArcGIS Pro 3 1
  • ArcGIS Enterprise 11 0

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Related Information

Discover more on this topic