<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Exporting globalID and objectID to shp using geoprocessing tools - possible? in Geoprocessing Questions</title>
    <link>https://community.esri.com/t5/geoprocessing-questions/exporting-globalid-and-objectid-to-shp-using/m-p/107258#M3674</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;It's too late to respond reason I'm relatively new to GIS. I have found one workaround.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;If we create a new attribute with data type as GUID instead of GlobalID and copy over the same data, it works.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;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&amp;nbsp;for say). Maybe something to look into with ArcPy's internal mapping code.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;I hope this helps,&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;My Best,&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;MK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Aug 2018 17:56:40 GMT</pubDate>
    <dc:creator>MeghanKulkarni</dc:creator>
    <dc:date>2018-08-23T17:56:40Z</dc:date>
    <item>
      <title>Exporting globalID and objectID to shp using geoprocessing tools - possible?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/exporting-globalid-and-objectid-to-shp-using/m-p/107254#M3670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to export files from SDE to shp(shapefile). When I do it manually (Data&amp;gt;Export data), the globalID (GID) and ObjectID (OID) fields are exported to the shapefile. In contrast, when I use geoprocessing tools (such as Select or CopyFeatures) all fields are exported except the GID and OID.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there any way I can use the Geoprocessing tools (and\or Python) to export &lt;/SPAN&gt;&lt;STRONG&gt;ALL&lt;/STRONG&gt;&lt;SPAN&gt; fields &lt;/SPAN&gt;&lt;STRONG&gt;including &lt;/STRONG&gt;&lt;SPAN&gt; GID and OID???&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(I'm using ArcGIS 9.3.1, and the manual way isn't good enough as I want to export a large amount of layers).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Apr 2011 12:54:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/exporting-globalid-and-objectid-to-shp-using/m-p/107254#M3670</guid>
      <dc:creator>yonatanrubinstein</dc:creator>
      <dc:date>2011-04-10T12:54:45Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting globalID and objectID to shp using geoprocessing tools - possible?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/exporting-globalid-and-objectid-to-shp-using/m-p/107255#M3671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;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.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Have you been able to fix this problem yet?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kind regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Idris Peiren&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2011 07:18:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/exporting-globalid-and-objectid-to-shp-using/m-p/107255#M3671</guid>
      <dc:creator>IdrisPeiren</dc:creator>
      <dc:date>2011-11-29T07:18:40Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting globalID and objectID to shp using geoprocessing tools - possible?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/exporting-globalid-and-objectid-to-shp-using/m-p/107256#M3672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;Have you been able to fix this problem yet?&lt;BR /&gt;&lt;BR /&gt;Kind regards,&lt;BR /&gt;&lt;BR /&gt;Idris Peiren&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Idris,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I did not find a solution - I just put it aside, as there is no solution as far as I know.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Nov 2011 07:37:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/exporting-globalid-and-objectid-to-shp-using/m-p/107256#M3672</guid>
      <dc:creator>yonatanrubinstein</dc:creator>
      <dc:date>2011-11-29T07:37:24Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting globalID and objectID to shp using geoprocessing tools - possible?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/exporting-globalid-and-objectid-to-shp-using/m-p/107257#M3673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's too late to respond reason I'm relatively new to GIS. I have found one workaround.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If we create a new attribute with data type as GUID instead of GlobalID and copy over the same data, it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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&amp;nbsp;for say). Maybe something to look into with ArcPy's internal mapping code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Best,&lt;/P&gt;&lt;P&gt;MK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2018 17:56:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/exporting-globalid-and-objectid-to-shp-using/m-p/107257#M3673</guid>
      <dc:creator>MeghanKulkarni</dc:creator>
      <dc:date>2018-08-23T17:56:07Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting globalID and objectID to shp using geoprocessing tools - possible?</title>
      <link>https://community.esri.com/t5/geoprocessing-questions/exporting-globalid-and-objectid-to-shp-using/m-p/107258#M3674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;It's too late to respond reason I'm relatively new to GIS. I have found one workaround.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;If we create a new attribute with data type as GUID instead of GlobalID and copy over the same data, it works.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;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&amp;nbsp;for say). Maybe something to look into with ArcPy's internal mapping code.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;I hope this helps,&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;My Best,&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;MK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Aug 2018 17:56:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/geoprocessing-questions/exporting-globalid-and-objectid-to-shp-using/m-p/107258#M3674</guid>
      <dc:creator>MeghanKulkarni</dc:creator>
      <dc:date>2018-08-23T17:56:40Z</dc:date>
    </item>
  </channel>
</rss>

