Hello,
We are working on an ArcGIS for JavaScript application and are displaying some features on a map with a FeatureLayer.
The attributes of those features are:
- OBJECTID
- NAME
- FID_1
When I want to show the attributes in a InfoTemplate, only the OBJECTID is shown. When I use Fiddler to look at the request and response to the ArcGIS REST service, more then only the OBJECTID attribute is retrieved. But when I look at the 'graphics' array in the FeatureLayer object, only the OBJECTID is known.
First question: Why?
Second question: How can I solve this without another roundtrip (like QueryTask etc.) to the ArcGIS REST Service?