Hey folks, I have a need to create a lowercase "GlobalID" type field in a feature class. Until now, I was not aware of a way to do this, so I'm just curious if anyone else has this need and what their workaround was. The solution I have found seems to be undocumented. Hopefully Esri will chime in.
Geoprocessing Tool "Add Global IDs" does not allow customizing the name of this field. Neither does the check box in the Properties setting for a Feature Class. Neither does the arcpy call--the only parameter is the feature class name or path. Alter Field doesn't seem to allow this either on GlobalID type fields.
Add Field does allow customizing the field name (obviously), however the documentation does NOT include "GlobalID" as a valid argument for the "field_type" parameter (Python as well as the toolbox GUI drop down).
Despite that, this works fine:
arcpy.management.AddField(in_table="my_feature_class", field_name="globalid", field_type="GlobalID")
and results in:
