Quantcast
Channel: Forums - Python
Viewing all articles
Browse latest Browse all 2485

GlobalID data type showing as "SmallInteger"

$
0
0
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?

Viewing all articles
Browse latest Browse all 2485

Trending Articles