It's too late to respond reason I'm relatively new to GIS. I have found one workaround.
If we create a new attribute with data type as GUID instead of GlobalID and copy over the same data, it works.
It does not work in earlier case because GlobalID is Unicode Data Type in ArcGIS however in Enterprise GDB, SQL Server, for instance, it does not know to map from Unicode into the string (I guess ArcPy should internally convert GlobalID data type into nvarchar for say). Maybe something to look into with ArcPy's internal mapping code.
I hope this helps,
My Best,
MK
Hi,
This problem is a known issue for years now and I'm still searching for a solution. I've tried every tool that involves exporting but none of them keeps the Objectid.
Have you been able to fix this problem yet?
Kind regards,
Idris Peiren
It's too late to respond reason I'm relatively new to GIS. I have found one workaround.
If we create a new attribute with data type as GUID instead of GlobalID and copy over the same data, it works.
It does not work in earlier case because GlobalID is Unicode Data Type in ArcGIS however in Enterprise GDB, SQL Server, for instance, it does not know to map from Unicode into the string (I guess ArcPy should internally convert GlobalID data type into nvarchar for say). Maybe something to look into with ArcPy's internal mapping code.
I hope this helps,
My Best,
MK