Select to view content in your preferred language

Experiance Builder: Search and zoom to parcel on startup

259
4
Jump to solution
01-13-2025 12:27 PM
Labels (1)
LyonMNGIS
Frequent Contributor

Hello,

I want to create a URL which will find and zoom to a parcel  for a parcel on the startup of an experience builder application.   I can do this with the older WebApp Builder but I am not sure how to do this using experience builder.

 

Web App Builder URL:

https://lyonmn.maps.arcgis.com/apps/webappviewer/index.html?id=3ce39bd2f5b849cb88752b2bf9f998b2&find...

 

Thank You

Tags (4)
0 Kudos
1 Solution

Accepted Solutions
JudithWammack
Emerging Contributor

@LyonMNGIS,

I am thankful that you were able to get the link to work correctly.

DeSoto County MS URL Parameters 

To my knowledge, the first selection will always remain in place. Our users really appreciate this feature, as it was a major request from our county from the start.

If they need to make a new selection, the user can simply click the 'x' next to the parcel number to clear the current selection and start a new search.

DeSoto County MS Web Map

If you do find anything out what you are looking for, I would love to learn about it. 

View solution in original post

0 Kudos
4 Replies
Laura
by MVP Regular Contributor
MVP Regular Contributor

 

This looks like it could be helpful to you: https://community.esri.com/t5/education-blog/url-parameters-with-experience-builder-send-your/ba-p/1...

 

For users to be able to search and zoom to something:

Add a search widget to your map and then add a new search source and configure it to use the field you are interested in (parcel #).

Laura_0-1736800660973.png

Then move over to the action tab to configure it to zoom to your results. Here is how I set mine up.

Laura_2-1736800761569.png

I also like to change the zoom scale from automatic. 

 

0 Kudos
JudithWammack
Emerging Contributor

First, pull in the search widget into the map frame

Set the search widget to interact with the map.

Set your search to your liking for parcels. (Ex: Parcel ID and Owner Name)

Search.png

General Search Options

Make sure Search Result is checked for Auto Select the first result

SearchResults.png

Then check actions to make sure that you have all three actions appear 

Actions.png

https://doc.arcgis.com/en/experience-builder/latest/build-apps/url-parameters.htm

This link above is the link that will help you determine the URL for the search widget.

 

I hope this made sense and helpful. 

0 Kudos
LyonMNGIS
Frequent Contributor

Judith,

I am defiantly much closer. 

  • The search and zoom functionality now works when I start up the application with the search parameters in the URL below.
  • However, Once a user is working with the map for a few minutes then I would like to turn off the "Zoom to First Record" functionality?

Any thoughts on how I can zoom to the first result when I first open an application while not zooming to the first result after the application is open?  Do I just need to sneak in a separate search widget and is there a way to hide it from display?

https://experience.arcgis.com/experience/697cf6e4773f4ca28708acdf056af739/page/Page/#widget_22=searc...

 

 

 

0 Kudos
JudithWammack
Emerging Contributor

@LyonMNGIS,

I am thankful that you were able to get the link to work correctly.

DeSoto County MS URL Parameters 

To my knowledge, the first selection will always remain in place. Our users really appreciate this feature, as it was a major request from our county from the start.

If they need to make a new selection, the user can simply click the 'x' next to the parcel number to clear the current selection and start a new search.

DeSoto County MS Web Map

If you do find anything out what you are looking for, I would love to learn about it. 

0 Kudos