The name of the class.
|String||more details||more details||ExpressionInfo|
The name of the expression.
Indicates the return type of the Arcade expression.
The title used to describe the value returned by the expression.
The name of the class. The declared class name is formatted as
An Arcade expression following the specification defined by the Constraint Profile. Expressions may reference field values using the
$featureglobal variable and must return either
false. If an expression returns
true, then the field or group element will display in the FormTemplate. If
false, then the field or group element will be hidden to the end user.
- See also:
// Display a field in the form template only if the date is within the last 24 hours. expressionInfo.expression = "IIF(DateDiff(Now(), $feature.incident_date, 'hours') < 24)";
The name of the expression. Set this name to the visibilityExpression property of the element to conditionally set its visibility.Example:
expressionInfo.name = "withinRange";
Indicates the return type of the Arcade expression. In FeatureForm expressions, the returnType can be
The title used to describe the value returned by the expression.Example:
expressionInfo.title = "Did the incident occur within the last 24 hours?";
Creates a deep clone of the ExpressionInfo class.
Creates a new instance of this class and initializes it with values from a JSON object generated from an ArcGIS product.
Converts an instance of this class to its ArcGIS portal JSON representation.
Creates a deep clone of the ExpressionInfo class.Returns:
Type Description ExpressionInfo A deep clone of the ExpressionInfo instance.
Creates a new instance of this class and initializes it with values from a JSON object generated from an ArcGIS product. The object passed into the input
jsonparameter often comes from a response to a query operation in the REST API or a toJSON() method from another ArcGIS product. See the Using fromJSON() topic in the Guide for details and examples of when and how to use this function.Parameter:json Object
A JSON representation of the instance in the ArcGIS format. See the ArcGIS REST API documentation for examples of the structure of various input JSON objects.Returns:
Type Description * Returns a new instance of this class.