The feature layer generates a unique object id for new features.Does not support queries that need to be performed on the server, e.g. queries with a where clause
var query = new esri.tasks.Query(); query.objectIds = [features[0].attributes.OBJECTID]; query.outFields = [ "*" ]; // Query for the features with the given object ID featureLayer.queryFeatures(query, function(featureSet) { });
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.