selectFeatures - query contains one or more unsupported parameters

Discussion created by rahul_m on Jul 25, 2012
Latest reply on Jan 8, 2014 by jay.gregory
Hi All,

Issue: Getting  an error, "selectFeatures - query contains one or more unsupported parameters", while passing a select query to a feature layer created from a feature set at run time.

-I am creating a feature layer at run time using a features returned by some Java web service.
-I can see the features on the map.
-However when I pass a selectFeatures query to this layer I get an error mentioned above.
-Here is the where clause that I am using for query:
userName = 'BILL' OR firstName = 'BILL'

Any help is greatly appreciated.