Hello, I want to be able to get attribute info from graphics. But I found that the only attribute available for graphics is the OBJECTID (please see the first screen shot) even though I specified the outFields to include the field i want (please see the codes). Did I do anything wrong? Is there a way to get attributes other than OBJECTID from graphics?
Solved! Go to Solution.
Thanks Robert. You got me again. I used incorrect layer for the featureLayer. after i used the correct layer with the "PropertyID" field, i was able to get the ProeprtyID listed in the graphic.attributes property. Thanks again.