ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Core.Arcade Namespace / ArcadeEvaluator Class / GetFields Method
Variable name to look up the fields from.
The table that contains the row.
Version

GetFields Method (ArcadeEvaluator)
Gets a list of fields that are required to use the arcade script. This method must be called on the MCT. Use QueuedTask.Run.
  • The explicit fields that are used in the arcade script e.g. $feature.fields1
  • The implicit fields that are needed when calling specific functions e.g. Geometry(), FeatureSetByAssociation()
  • The wildcard fields e.g. expects($feature, "*")
Syntax

Parameters

profileVariable
Variable name to look up the fields from.
table
The table that contains the row.

Return Value

A readonly collection of each field that is used in the script.
Exceptions
ExceptionDescription
 
This method or property must be called within the lambda passed to QueuedTask.Run.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3.2 or higher.
See Also