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"
}
}
]
}