Select to view content in your preferred language

How to query on identify response

926
2
Jump to solution
08-01-2012 07:56 AM
ConnieLeung
Occasional Contributor
Hi,

I am trying to filter a response from identify results.  Basically, say if the identify results returns 5000 features, I would like to filter those feature by Type (where type=1).  How should I go about to do it?

Thanks for any help in advance.

Connie
0 Kudos
1 Solution

Accepted Solutions
ReneRubalcava
Esri Frequent Contributor
You can send it in the IdentifyParameters with layerDefinitions
http://help.arcgis.com/EN/webapi/javascript/arcgis/help/jsapi/identifyparameters.htm#layerDefinition...
This will filter it before you get the results from the server.

View solution in original post

0 Kudos
2 Replies
ReneRubalcava
Esri Frequent Contributor
You can send it in the IdentifyParameters with layerDefinitions
http://help.arcgis.com/EN/webapi/javascript/arcgis/help/jsapi/identifyparameters.htm#layerDefinition...
This will filter it before you get the results from the server.
0 Kudos
ConnieLeung
Occasional Contributor
Thank you for your response, that works!
0 Kudos