AnsweredAssumed Answered

Not all attributes are showing by featurelayer

Question asked by ceesvana on Jul 14, 2015
Latest reply on Jul 15, 2015 by ceesvana

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?

Outcomes