Bolton-and-Menk-GIS / restapi

Python API designed to work externally with ArcGIS REST Services to query and extract data, and view service properties. Uses arcpy for some functions if available, otherwise uses open source alternatives to interact with the ArcGIS REST API. Also includes a subpackage for administering ArcGIS Server Sites.
GNU General Public License v2.0
93 stars 31 forks source link

GlobalID corrupted on layer export to local #44

Closed philnagel closed 2 years ago

philnagel commented 2 years ago

When exporting a layer, the GlobalID values all become {00000000-0000-0000-0000-000000000000}

philnagel commented 2 years ago

This affects both GlobalID and GUID type fields. GlobalID and GUID field values are returned from the REST query in the format without curly braces. When writing these using arcpy tools, they are only recognized as valid when using curly braces. Need a fix that adds curly braces as needed.