patrickro

What is the purpose of "typeIdField"?

Discussion created by patrickro on Jun 13, 2013
Latest reply on Jun 14, 2013 by patrickro
I recently worked on something that parses raw results returned from a QueryTask and replaces Subtype specific enumeration values with their corresponding display values.  This was all working fine and dandy until I realized that the method I used to replace the Subtype field itself with it's specific display value didn't appear to be working all of the time.  In particular I came across a specific layer that was especially troublesome.  http://screencast.com/t/qPdjlg7plX9 .  You can see in the screenshot that the typeIdField doesn't actually correspond to either the subtypes field or alias and didn't seem to match up with any other layer information at all.  My end goal is to determine which field contains the subtypes enumeration value and replace it with the corresponding display value.  Any help would be greatly appreciated. Thanks!

Outcomes