AnsweredAssumed Answered

Attributes not Returned for Features

Question asked by mmalcik on Feb 8, 2012
Latest reply on Feb 23, 2012 by mmalcik
I am having trouble trying to access the attributes for the features in my dynamic feature service layers.  Only certain ones are showing up, while the rest are not.
For example, here are the fields for one feature service.  Only "OBJECTID" and "LINE" are returned, while everything else comes back as "nil".  It is a similar situation with the other layers as well.  When I use these same feature services in the Flex site that we are also developing, all the attributes show up without any problem.  I want to be able to display all the fields and corresponding values for each feature in a table view.  Can anyone tell me why this might be happening, and what is the best way to correct it?

    OBJECTID (Type: esriFieldTypeOID, Alias: OBJECTID)
    Shape (Type: esriFieldTypeGeometry, Alias: Shape)
    Inspection (Type: esriFieldTypeDouble, Alias: Inspection)
    LINE (Type: esriFieldTypeString, Alias: LINE, Length: 254 )
    MILE_POST (Type: esriFieldTypeDouble, Alias: MILE_POST)
    CROSSING (Type: esriFieldTypeString, Alias: CROSSING, Length: 254 )
    Year_Built (Type: esriFieldTypeString, Alias: Year_Built, Length: 254 )
    Structure (Type: esriFieldTypeString, Alias: Structure, Length: 254 )
    Bridge_Cul (Type: esriFieldTypeString, Alias: Bridge_Cul, Length: 254 )
    Deck_Type (Type: esriFieldTypeString, Alias: Deck_Type, Length: 254 )
    Number_of (Type: esriFieldTypeDouble, Alias: Number_of)
    Number_o_1 (Type: esriFieldTypeDouble, Alias: Number_o_1)
    Length__ft (Type: esriFieldTypeDouble, Alias: Length__ft)
    Track_Alig (Type: esriFieldTypeString, Alias: Track_Alig, Length: 254 )
    Latitude (Type: esriFieldTypeDouble, Alias: Latitude)
    Longitude (Type: esriFieldTypeDouble, Alias: Longitude)
    _Inspe (Type: esriFieldTypeString, Alias: _Inspe, Length: 254 )
    Bridge_ID (Type: esriFieldTypeString, Alias: Bridge_ID, Length: 150 )

Type ID Field: N/A

Supported Interfaces:   REST