Select to view content in your preferred language

GlobalID data type showing as "SmallInteger"

3506
11
03-04-2013 08:24 AM
StormwaterWater_Resources
Regular Contributor
ArcMap Standard, 10.1:

I'm using the following:

inputField = arcpy.ListFields(inputLayer, inputFieldName)[0]
fieldType = inputField.type


For everything except GlobalID's it's working fine.  When the data type is a GlobalID the returned value of .type is "SmallInteger".  I can't find any forum or help page showing this to be a known bug.  How do I find the type of a global ID field?
Tags (2)
0 Kudos
11 Replies
MaheshPatel1
Emerging Contributor

I got the same result in 10.2.1--small integer instead of GUID. Is there a patch to fix this bug (or is it not worth the bother, just wait to get upgraded)?

0 Kudos