Expression

Interface

Single expression. A single expression may contain multiple parts. For exmaple,

1
2
3
4
5
6
7
8
9
10
// avg({field1})
{
name: 'exp1',
parts: [
  { type: FUNCTION, exp: 'AVERAGE' },
  { type: OPERATOR, exp: '(' },
  { type: FIELD, exp: '{field1}', dataSourceId: ds1, jimuFieldName: field1 },
  { type: OPERATOR, exp: ')' }
 ]
}

Properties

PropertyTypeNotes
string

Name of the expression.

FormatNumberOptions

Format of the number results. See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat for more details.

Expression parts.

name

Interface Property
name: string

Name of the expression.

numberFormat

optional
Interface Property
numberFormat: FormatNumberOptions

Format of the number results. See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat for more details.

parts

Interface Property
parts: ExpressionPart[]

Expression parts.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close