WAB url parameter query where clause

911
2
05-24-2017 05:12 PM
AlistairFox
Occasional Contributor

Hi

has anyone got working a where clause passed into the query URL paramater that contains a series of OR statements.

I've got it working with the following:

?query=layername,(Zone = 'xxx') OR (Zone = 'xxx')

 

The same query inside WAB highlights all polygons and zooms to the extent. When I run the query through URL parameter it highlights 1 of the records and pops up an info box, the rest are not highlighted and the zoom extent does not cover all records.

any thoughts on why the difference. 

0 Kudos
2 Replies
RobertScheitlin__GISP
MVP Emeritus

Alistair,

   Looking at the MapUrlParamsHandler.js there is no support for queries that are searching for more than one value.

AlistairFox
Occasional Contributor

thanks

0 Kudos