cgishack

Get Fields ?

Discussion created by cgishack on Oct 13, 2010
Latest reply on May 6, 2011 by DSwingley-esristaff
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

Outcomes