Can you apply a wildcard to the URL parameters

1676
3
Jump to solution
04-03-2019 05:59 AM
AndrewEdmonds1
New Contributor

I can open a map to a single feature using <mapID>&query=<layerID>,<fieldname>,Demolished 1987 but can I zoom to the extent of all features with %Demolished% as the field value?

And if so, what is the appropriate ASCII character?

0 Kudos
1 Solution

Accepted Solutions
RobertScheitlin__GISP
MVP Emeritus

Andrew,

  No wildcard queries are not supported. The URL query uses equals in the where statement.

query.where = field.name + '=' + queryArray[2];

Not LIKE. So it will not work.

View solution in original post

0 Kudos
3 Replies
RobertScheitlin__GISP
MVP Emeritus

Andrew,

  No wildcard queries are not supported. The URL query uses equals in the where statement.

query.where = field.name + '=' + queryArray[2];

Not LIKE. So it will not work.

0 Kudos
AndrewEdmonds1
New Contributor

That is a grave disappointment.  Thanks for the quick reply.

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Andrew,

   If you are using WAB Dev edition this is something you could change though.

0 Kudos