An object specifying the search parameters set within the web scene.
Referenced by: viewing
Properties
Property | Details |
---|---|
enabled | A boolean value indicating whether search functionality is enabled in the web scene. |
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. |
tables[] | An array of objects that define search fields and search criteria for tables in the web map. |
Example
{
"enabled": true,
"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"
}
}
]
}