Select to view content in your preferred language

WAB url parameter query where clause

1096
2
05-24-2017 05:12 PM
AlistairFox
Regular 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 = 'xyz') OR (Zone = 'xyz')

 

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
Regular Contributor

thanks

0 Kudos