search

An object specifying the search parameters set within the web map.

Referenced by: viewing

Properties

Property Details
disablePlaceFinder [Required] A boolean value indicating whether or not to disable the place finder.
enabled [Required] A boolean value indicating whether search (find) functionality is enabled in the web map.
hintText A string value used to indicate the hint provided with the search dialog.
layers[] An array of objects that define search fields and search criteria for layers in the web map.
tables[] An array of objects that define search fields and search criteria for tables in the web map.

Example

{
  "enabled": true,
  "disablePlaceFinder": false,
  "hintText": "Search by Address or State name",
  "layers": [
    {
      "id": "Census_9227",
      "field": {
        "name": "STATE_NAME",
        "exactMatch": false,
        "type": "esriFieldTypeString"
      },
      "subLayer": 3
    }
  ],
  "tables": [
    {
      "id": "table1",
      "field": {
        "name": "field1",
        "exactMatch": false,
        "type": "esriFieldTypeString"
      }
    }
  ]
}

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