I am trying to change the search result symbology but don't see where it can be done in the interface, let alone in config.json. At the least I would like to change the point symbology so it jumps out at the user. Is there a way in the interface and I'm looking past it? I'd also take changing the flash properties. Robert Scheitlin provided steps on how to update the search symbology in WAB but I haven't been successful getting those same changes to work in EB.
Additionally, I'd like to make changes to the selection highlight to give it a thicker border/halo. Can I do something in config.json for that?
Hi AdamGebhart,
About updating the search result symbology, please try to use Record created message action. Then symbology could be changed.
Thanks,
Ke
Thanks for the tip. I'm not seeing a target when I add the Records created trigger. Do I need to set up another trigger or action elsewhere? My search widget resides in a sidebar, along with a Feature Info widget that displays the feature's popup(s) that are either chosen in the Search or by clicking in the map.
Hi AdamGebhart,
Layer source and Locator source should be selected at the same time.
Thanks,
Ke
From the New search source? My searches are by layer source and I'm not seeing that coming up as an option for those. If I add a locator I see that come up.
I can go the locator route if needed but I prefer not to in this app because in the AGO map I have a popup configured for my address points that uses Intersects to retrieve values from a polygon feature class. That can't be done with a locator, right? I'm essentially trying to recreate some of the former WAB District Lookup widget functionality.
I am sorry. Message action "Add to map" just for Locator result. It doesn't take effect on the result of layer source we added.
Do you know if it’s possible to create a custom popup for a locator (service) and/or have it use the Arcade Intersects function? My current setup is to search my address points and use Intersects to pull values from a polygon feature class/service to complete the address point popup. If I can't do that with a locator or geocode service there isn't any use in adding it to the search widget. The layer source search works well for what I need, it's just the results symbology needs to be better for the end user.
ArcGIS JavaScript API doesn't support border for highlight options, see details here - https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html#HighlightOptions
Thank you. Is there anything that can be added or modified to the config to make the borders/halo more prominent? I see there is 'shadowColor' but that appears to be only for a 3D SceneView.