AnsweredAssumed Answered

upload shapefile sample and query or select features

Question asked by vikrant327 on Feb 19, 2013
Latest reply on Feb 19, 2013 by khutchins-esristaff
I am replicating the upload shapefile sample in my application. Everything is showing up correctly on the map. Problem is that I am not able to query or select features from the uploaded layer, any query is giving an error as "query contains one or more unsupported parameters". My query is defined as

var query = new esri.tasks.Query();
query.where = "1 = 1";   // or   "FID = 1" or any other where clause.
query.outFields = ["*"];

uploadLayer.queryFeatures(query, function (featureSet) {
        console.log(featureSet);
    });

any ideas

Outcomes