Execute button in Query widget

905
3
Jump to solution
01-12-2017 02:39 PM
MikeOnzay
Regular Contributor

I set up a the query tool in the WAB for a user to draw a shape to select address points. I watched the user skip drawing the shape and just click Execute. This resulted in the application hanging because I think was trying to return every address point or at least the maximum set on the server.

Is it possible to set the Execute button to not be ready until the user draws the shape? 

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Esteemed Contributor

Mike,

   If you are using WAB Dev Edition then you can switch to the eSearch widget which does not execute until after a geometry is drawn. 

https://community.esri.com/docs/DOC-1731-enhanced-search-widget-version-211-080116 

If you are set on using the Query widget then I might be able to find some time to track down the required code changes (once again requiring WAB Dev Edition).

View solution in original post

3 Replies
RobertScheitlin__GISP
MVP Esteemed Contributor

Mike,

   If you are using WAB Dev Edition then you can switch to the eSearch widget which does not execute until after a geometry is drawn. 

https://community.esri.com/docs/DOC-1731-enhanced-search-widget-version-211-080116 

If you are set on using the Query widget then I might be able to find some time to track down the required code changes (once again requiring WAB Dev Edition).

MikeOnzay
Regular Contributor

Thanks. I'm not interested in using the developer edition. I will post on the ideas board.

0 Kudos
RobertScheitlin__GISP
MVP Esteemed Contributor

Good idea. Don't forget to mark this thread as answered.

0 Kudos