mapServiceLayer.getLayerDetails(...)
Hello,
I am doing a small ESRI JS API project and don't use it too often so the library is new to me..
Anyways.. I cant find anyway to get field information.
I am trying to write a function that will determine what the the OBJECTID field name is based on its data type (esriFieldTypeOID)
The object is in the documentation (Field) but I can't find a way to get a field?
In the Flex API you can call a a function like so...mapServiceLayer.getLayerDetails(...)
Please help me get a fields array.
Drew
Thanks Alex. I think I can work with this!
Drew
fieldAliases Object Set of name-value pairs for the attribute's field and alias names.
type String The data type of the field.