IPopupExpressionInfo

Interface

Arcade expression added to the pop-up.

Properties

Property Type Notes
expression Optional string

The Arcade expression.

name Optional string

Unique identifier for the expression.

returnType Optional "number" | "string"

Return type of the Arcade expression, can be number or string. Defaults to string value. Number values are assumed to be double. This can be determined by the authoring client by executing the expression using a sample feature(s), although it can be corrected by the user. Knowing the returnType allows the authoring client to present fields in relevant contexts. For example, numeric fields in numeric contexts such as charts.

title Optional string

Title of the expression.


Interface defined in packages/arcgis-rest-common-types/src/webmap.ts:78