Select to view content in your preferred language

WAB Search Widget shows display field in the dropdown for some layers and not others, why?

235
0
06-02-2022 11:21 AM
Labels (1)
easchwe
New Contributor II

I have configured the default search widget in WAB to search many layers (100+) based on the field AssetNumber. AssetNumber is also used as the Display field for suggestions. All layers are configured the same way (shown below), with 6 max suggestions and results, Zoom to default scale and show pop-up enabled. All search sources are map image layers pointing to data in registered SDEs in our enterprise database system. Using Portal 10.8.1.

easchwe_0-1654191491376.png

When using the dropdown in the search widget to narrow the search, some layers show as LayerName : AssetNumber, where some just show LayerName. If all layers are configured the same, why do some get the additional information showing which search/display field is used?

easchwe_1-1654191657941.png

This isn't a problem per se, but I would like the look of the dropdown to be consistent, and besides that, it just doesn't make sense.

Thanks for reading!

 

0 Kudos
0 Replies