add where to esri.tasks.IdentifyParameters

524
1
04-09-2014 07:51 AM
by Anonymous User
Not applicable
Original User: saroussi

hi
was wondering if i can return only some of the results from IdentifyTask
by using a condition .
for some reason IdentifyParameters don't have a where property like querytask does.
help will be appreciated
0 Kudos
1 Reply
Avisaroussi
New Contributor II
to answer my own question
layerDefinitions will do the trick

unlike the esri explanations the preferred  way is

var layerDefAry = [];
layerDefAry.push("prod_gas = 'Yes'");
identifyParams.layerDefinitions = layerDefAry;
0 Kudos