Experience Builder is so clunky to learn, but I can't keep avoiding it. I'm trying to create an app using the foldable template. How do I get the search functionality to simply zoom to an address?
I don't want it to trigger any special action like selecting a layer or anything. I just want it to zoom to and pinpoint a searched address to help the user orient themselves. Just like the search functionality did by default in Web App Builder.
Right now, in Experience Builder, I can search an address, but when I click on it, it does nothing.
Solved! Go to Solution.
You have to set up a an action to zoom when the selection changes and it somewhat depends what you are searching (layer or using a locator) - in the first screen shot below, i set up a action this way so when i type in my target (see the red mark in the search box), then it gives me the search result (yellow mark) I can click on that to select the record and it zooms to the selected record - this is with the search source set to layer where I'm only searching for features in a specific layer and specific fields within that layer.
The second screen shot below shows how to set up the search using a locator - in this case I've checked the 'auto select first result' which then automatically selects my location and zooms to it.
You have to set up a an action to zoom when the selection changes and it somewhat depends what you are searching (layer or using a locator) - in the first screen shot below, i set up a action this way so when i type in my target (see the red mark in the search box), then it gives me the search result (yellow mark) I can click on that to select the record and it zooms to the selected record - this is with the search source set to layer where I'm only searching for features in a specific layer and specific fields within that layer.
The second screen shot below shows how to set up the search using a locator - in this case I've checked the 'auto select first result' which then automatically selects my location and zooms to it.
Thank you very much! I was overlooking the action settings to choose the map.
I'm just starting to get familiar with this myself so it was a helpful thing to me to hunt down. We are so used to things like WAB and Dashboards that EB is just enough different its hard to see how everything works to get a similar result; ultimately i think it has more power but its definitely a change that isn't intuitive. Glad I was able to help!
Can't get it to put a temporary pin at the address, can we? I tried the flash function and that didn't seem to do anything.
ah, i don't see any way to do that unfortunately, but maybe someone else knows of a secret. Short of providing the draw widget and having your users drop a marker from that, I am stumped.
Not currently possible (outside of custom widget development). The product team is working on adding this option.
Thank you for this information about Experience Builder