0 Replies Latest reply on Apr 25, 2012 9:54 PM by stevel

    Bug in identifyResult.attributes?

      See the demo script at http://help.arcgis.com/en/webapi/javascript/arcgis/demos/find/find_popup.html and put a Firebug breakpoint on line 91:

      var feature = result.feature;
      feature.attributes.layerName = result.layerName; 

      feature.attributes should return the attributes of the feature, but instead it returns the aliases:


      This is a crucial distinction since the attributes are guaranteed to be unique whereas the aliases may not be.

      Ideally, feature.attributes should return the attributes while a new feature.aliases property could return the aliases.