Select to view content in your preferred language

eSearch URL Search not pulling anything up

861
1
Jump to solution
12-03-2014 12:53 PM
MaxMasters
Emerging Contributor

I'm working on a local machine with WAB 1.0Beta3 installed and I'm trying to configure the Enhanced Search Widget to utilize the URL Search capability.  When I use the search in the url - for example: http://max-laptop:3344/webappbuilder/apps/2/?esearch=r0024296&slayer=1&exprnum=0 is what I have set up right now.  It doesn't give me an error, it just zooms to the extent of the map and doesn't zoom to the particular parcel.

I see at the end of the Help document for the Enhanced Search widget that it lists the instructions for the URL search.  Maybe I'm not editing the config.json properly to get the widget to open at start.  Does anyone have a config.json that they could share where they have this search working properly?

Does this need to be deployed to a web server to work properly?  Or should the test on my local machine work?

Thanks in advance,

Max

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

Max,

    The url search will work on the local machine as well as a app deployed to your web server.

An example json can be found at the live preview site using this url

http://gis.calhouncounty.org/WAB/Beta3/widgets/eSearch/config.json

The important part is the "openAtStart": true. The widget has to be open at start up.

View solution in original post

0 Kudos
1 Reply
RobertScheitlin__GISP
MVP Emeritus

Max,

    The url search will work on the local machine as well as a app deployed to your web server.

An example json can be found at the live preview site using this url

http://gis.calhouncounty.org/WAB/Beta3/widgets/eSearch/config.json

The important part is the "openAtStart": true. The widget has to be open at start up.

0 Kudos