Bug in identifyResult.attributes?

515
0
04-25-2012 09:54 PM
StephenLead
Regular Contributor III
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:

[ATTACH=CONFIG]13827[/ATTACH]

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.

Thanks,
Steve
0 Kudos
0 Replies