Returns all Arcade expressions defined on a given layer and provides metadata describing the context for which each expression was authored.more details
Returns all Arcade expressions defined on a given layer and provides metadata describing the context for which each expression was authored.
Expressions set in the following places will not be returned from this method.Parameter
The layer from which to get all Arcade expressions.Returns
Type Description ExpressionInfo Resolves to an array of objects containing all the Arcade expressions defined on the input layer along with metadata describing the context in which each expression was defined.
Represents the result of the getExpressionsFromLayer method. Contains an Arcade expression, along with metadata about the context in which the expression was defined.
An Arcade expression defined on a layer.
The name of the expression used when referencing it in popup and form templates.title String
The expression's title, describing it in the legend and other UI elements.profileInfo Object
Information about the profile, or environment, where the expression was defined.
Indicates which profile is used to execute the expression.
Possible Values:"form-constraint"|"feature-z"|"field-calculation"|"form-calculation"|"labeling"|"popup"|"popup-element"|"feature-reduction-popup"|"feature-reduction-popup-element"|"visualization"context ProfileContext
Describes the context (i.e. the API class) where the expression was defined.source String
Indicates the data source used to hydrate the expression's profile variables.
Possible Values:"layer"|"feature-reduction"returnType String
The return type of the expression. This is typically set in popup expressions for formatting purposes.
Describes the context for which an Arcade expression was defined using the Feature Z profile.
Describes the context for which an Arcade expression was defined using the popup or popup element profile.
Describes the context for which an Arcade expression was defined.
Describes the context for which an Arcade expression was defined using the visualization profile.