AnsweredAssumed Answered

Feature Layer QueryIds -- What id is returned?

Question asked by dar104 on Apr 20, 2015
Latest reply on Apr 29, 2015 by khutchins-esristaff

I have a feature Layer and am running queryids.  I get the array of ids fine.  However, I can't figure out where the id is coming from.  The documentation says it is the "ObjectId."  When I look at the feature service list of fields ObjectID is one of the fields listed but it doesn't seem to be a field that is returned to the browser, I am doing "*" as my fields so I should be getting all. 

 

I thought maybe the objectid was the array object number but I can't find any correlation between the ID from the feature service to the array object # in the browser. 

 

How can I access this Object ID in the feature layer in browser? 

 

I want to loop through my graphics in the feature layer and show the graphics that are in my ID array.  Don't know what Id that query returned. 

Outcomes