Arcade expression added to the pop-up.

Referenced by: popupInfo

Properties

PropertyDetails
expressionThe Arcade expression.
nameUnique identifier for the expression.
returnTypeReturn type of the Arcade expression, can be a 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 chart values.
Valid values:
  • number
  • string
titleTitle of the expression.

Example

{
"name": "expr1",
"title": "Population (Expr)",
"expression": "$feature.pop2000",
"returnType": "number"
}