Linking Search and eSearch widgets for Web Application Builder.zip

File uploaded by JGibson058 on Jul 4, 2019
Version 1Show Document
  • View in full screen mode

Linking Search and eSearch widgets for Web Application Builder

 

This code sample provides a linkage of 2 widgets so that the results of an autocompleter search cause the "Enhanced Search" widget to be activated. This provides the user with extra information about the searched feature. (See example image below). Entering Lot 45 in the top search box offers a series of matching search results. Choosing one zooms to the search map location and opens the larger eSearch dialog (this is the 2nd widget).

This linkage concept is based on custom Flex coding developed by the NZ Local Government GeoSpatial Consortium in 2010 which is now superseded. The outline concept has been adopted & rewritten using Javascript for ESRI WAB (v2.5). It unifies all search types, as searches for addresses, lot numbers, property owners, consent Ids etc are all executed by simply entering a few characters into the Search widget textbox.

Screen shot of linked search and eSearch widgets

Outcomes