Hello,
I've seen documentation for using URL Parameters to query a map, and I need help with doing something similar. I need to pass something from the URL to the 'Near Me' widget. I need to have an account number (13 digit text field) passed from the URL to the main textbox of the widget. I can't figure out where to begin with this, and it's stressing me out. Any help or hints would be a huge help, and greatly appreciated.
Have a great day, and thank you
Caleb,
If you turn off the standard Search widget and set Near Me to open as default when the application opens, Near Me will accept the incoming URL parameter. &find={Your Value}. Of course, you'll have to set up your feature layer as a search source in Near Me.
Hope this helps
Ned
I'm having the same question too. Thank you very much Ned.
Glad it was helpful!
Cheers
Ned
utilize at the end of your URL: &find={your_account_number_field}
Here is my example: https://oakdalemn.maps.arcgis.com/apps/webappviewer/index.html?id=d1364e46bc2a45c6904c7e39e3d617da&f...
Slick popup Kelly! Very nice work!
Ned
Thank you Ned!
That's exactly what I was looking for too. Very nice work you have there Kelly!
FYI,
It works in a similar fashion for the District Look-Up Widget.
I did try the "find =...." before but it didn't work with account number. Now thanks to your detailed explanation that I have to get rid of the 'search' widget for the 'Near me' widget to work. I got it work now. Thanks a bunch.