songissimo

FeatureLayer with Definition Expression and query features

Discussion created by songissimo on Mar 28, 2012
Latest reply on Mar 28, 2012 by songissimo
I set a definition expression in a feature layer and it rightly shows just the features that match this expression.
When I perform a query with queryFeatures function (or also with a query task) it gives me all the layer's features that match the query's where clause and not only the features that match both the definition expression and the query's where clause.

What am I doing wrong?

Thank you very much.

Outcomes