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?
Andrew,
No wildcard queries are not supported. The URL query uses equals in the where statement.
query<SPAN class="punctuation token">.</SPAN>where <SPAN class="operator token">=</SPAN> field<SPAN class="punctuation token">.</SPAN>name <SPAN class="operator token">+</SPAN> <SPAN class="string token">'='</SPAN> <SPAN class="operator token">+</SPAN> queryArray<SPAN class="punctuation token">[</SPAN><SPAN class="number token">2</SPAN><SPAN class="punctuation token">]</SPAN><SPAN class="punctuation token">;</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN></SPAN>
Not LIKE. So it will not work.
That is a grave disappointment. Thanks for the quick reply.
If you are using WAB Dev edition this is something you could change though.
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.