rhguimenes

Get field by alias

Discussion created by rhguimenes on May 22, 2012
Latest reply on May 23, 2012 by rhguimenes
Hi All.

I'm newbie javascript arcgis and i'm in doubt how do i get a field of my layer via alias.

Example:

I can get a field in two ways:

value of field is: ${field_name}'

or

graphic.attributes.field_name


But the field name is too long, so I want to get the field using alias

Can someone help-me?

Thanks

Outcomes