Skip to content

The definitionEditor stores interactive filters at the same level as layerDefinition.

Referenced by: Feature Layer (ArcGISFeatureLayer), Image Service Layer (ArcGISImageServiceLayer), Image Service Vector Layer (ArcGISImageServiceVectorLayer), layer, layerDefinition, Oriented Imagery Layer (OrientedImageryLayer), Stream Layer (ArcGISStreamLayer), table

Properties

Property Details
inputs[] An array of input objects.
parameterizedExpression A string value representing the where clause for the interactive filter.

definitionEditor Example

{ "parameterizedExpression": "AREA BETWEEN {0} AND {1} or VALUE = 23 or NAME LIKE '{2}%'", "inputs": [ { "hint": "Enter square miles.", "prompt": "Area between", "parameters": [ { "type": "esriFieldTypeInteger", "fieldName": "AREA", "parameterId": 0, "defaultValue": 10 }, { "type": "esriFieldTypeInteger", "fieldName": "AREA", "parameterId": 1, "defaultValue": 100 } ] }, { "hint": "Enter your name.", "prompt": "Name starts with", "parameters": [ { "type": "esriFieldTypeString", "fieldName": "NAME", "parameterId": 2, "defaultValue": "Jack" } ] } ] }

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