Search a map service exposed by the ArcGIS Server REST API based on a string value. The search can be conducted on a single field of a single layer, on many fields of a layer, or on many fields of many layers.
FindTask is currently not supported if attempting to be used:
- in a 3D SceneView
- with dynamic layers
The name of the class.more details
The geodatabase version.more details
The options to be used for data requests.more details
URL to the ArcGIS Server REST resource that represents a map service.more details
The name of the class. The declared class name is formatted as
- gdbVersion String
The geodatabase version.
The options to be used for data requests. These options can also be controlled through the
- url String
URL to the ArcGIS Server REST resource that represents a map service.
Sends a request to the ArcGIS REST map service resource to perform a search based on the input params.more details
Sends a request to the ArcGIS REST map service resource to perform a search based on the input params.Parameters:params FindParameters
Specifies the layers and fields that are used for the search.requestOptions Objectoptional
Additional options to be used for the data request (will override requestOptions defined during construction).Returns:
Type Description Promise<Object> Resolves to an object with the following properties: Property Type Description results FindResult An array of objects containing the result features of the Find task. exceededTransferLimit Boolean exceededTransferLimit is included in the response only if the result exceeded the transfer limit.
API Reference search results