AnsweredAssumed Answered

Query a layer with multiple search criterias

Question asked by kerankousyal on Apr 9, 2014
Latest reply on Aug 18, 2014 by MayMay
hi,

i have a requirement in my project where i have to query the layer with the help of multiple search fields.How can i achieve this?

till now i have been doing it like this:

findParams.layerIds = [1];
findParams.searchFields = ["STREET_NAME", "STREET_NUMBER"];

findTask.execute(findParams, showResults);

I have  a single text box and i query the map with the help street name OR number.How can i combine both(similar to AND) to filter results?

thanks in advance.

keran.

Outcomes