AnsweredAssumed Answered

Outfields in Search Widget (WAB)

Question asked by gmcsarmiento on May 11, 2018
Latest reply on May 11, 2018 by rscheitlin

I am using the wab search widget with multiple sources, but it is skipping the field of outfields. Thanks

 

{
"allPlaceholder": "",
"showInfoWindowOnSelect": true,
"sources": [
{
"url": "https://services1.arcgis.com/MUGZBRzuQOwSq7Du/ArcGIS/rest/services/Limites/FeatureServer/0",
"name": "Departamentos",
"placeholder": "Atlántico",
"searchFields": [
"cod_dpto",
"dpto"
],
"outFields": [
"cod_dpto",
"dpto",
"acto",
"anno"
],
"displayField": "dpto",
"exactMatch": false,
"searchInCurrentMapExtent": false,
"zoomScale": 50000,
"maxSuggestions": 6,
"maxResults": 6,
"type": "query",
"highlightSymbol": {
"color": [
255,
0,
0,
128
],
"outline": {
"color": [
0,
166,
81,
255
],
"width": 1,
"type": "esriSLS",
"style": "esriSLSSolid"
},
"type": "esriSFS",
"style": "esriSFSSolid"
}
}

}

Outcomes