Select to view content in your preferred language

QueryString arguments

2633
2
01-07-2013 05:38 AM
JohnYoung
New Contributor
How would I setup an application to take querystring arguments to perform a search?

I would like to launch a flex viewer app with a querystring argument specifying the section/township/range of a parcel and have the viewer highlight the parcel and zoom to it. This can already be done within a search widget.
Tags (2)
0 Kudos
2 Replies
AnthonyGiles
Honored Contributor
John,

Have a look at Roberts enhanced search widget that has this capability. The download contains a PDF help file that shows you how to set it up:

http://www.arcgis.com/home/item.html?id=5d4995ccdb99429185dfd8d8fb2a513e

His sample URL is running a search directly by arguments in the URL

Regards

Anthony
0 Kudos
Juan_CarlosFranco
Esri Contributor
With ArcGIS Viewer for Flex 3.1, you can use the search term URL parameter to execute a search on application startup (example). The application will automatically zoom to the result if only one is found. Otherwise, it will display a search result list.

You will need to configure the Header Controller widget to include your data in the search. Please see the Header Controller widget tag reference for more information
0 Kudos