Change GlobalID type for spatial join with arcpy

429
1
02-01-2019 03:17 PM
DWR_AlexMccomb
New Contributor II

I'm doing a spatial join and the target feature has a globalID.  Running the tool regularly doesn't preserve the globalID in the output.  I've found if I change the field type of the GlobalID to "Guid" it will output them in the new feature class.  I would like to know how this is done with arcpy.  

Below are the settings for the spatial join tool showing the GlobalID type being changed to Guid imder the properties menu.  

Thanks!

0 Kudos
1 Reply
BruceHarold
Esri Regular Contributor