<?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: Bug? ArcGIS Pro - Export Selected Features from Attribute Table returns wrong Object ID (-1) in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/bug-arcgis-pro-export-selected-features-from/m-p/349989#M15438</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bug report also says fixed in 2.1&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://support.esri.com/en/bugs/nimbus/QlVHLTAwMDA5MTQ1MQ==" title="https://support.esri.com/en/bugs/nimbus/QlVHLTAwMDA5MTQ1MQ=="&gt;BUG-000091451: The values of the ObjectID field for feature classes..&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 31 May 2020 23:55:09 GMT</pubDate>
    <dc:creator>curtvprice</dc:creator>
    <dc:date>2020-05-31T23:55:09Z</dc:date>
    <item>
      <title>Bug? ArcGIS Pro - Export Selected Features from Attribute Table returns wrong Object ID (-1)</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/bug-arcgis-pro-export-selected-features-from/m-p/349983#M15432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In ArcGIS Pro (1.4.1), I am trying to export selected records from an attribute table to a csv file. &amp;nbsp;When I open the CSV file, all of the values under the Object ID field/column are showing as -1. Within ArcGIS Pro, the ObjectID attributes are showing correctly (separate ID for each feature) when viewing the attribute table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When this same procedure is repeated in ArcMap the resulting csv file shows the correct ObjectID values, as expected...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this a bug or expected behavior?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Tyler&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Keeping in mind that for the attachments below, I only exported 1 record,&amp;nbsp;but this phenomenon is replicated no matter how many records are exported...all of those record return a value of -1 under ObjectID when exported in Pro.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;csv export for pro&lt;/P&gt;&lt;P&gt;csv export for arcmap&lt;/P&gt;&lt;P&gt;screenshot of attribute table from pro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Mar 2017 16:42:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/bug-arcgis-pro-export-selected-features-from/m-p/349983#M15432</guid>
      <dc:creator>TylerSchwartz2</dc:creator>
      <dc:date>2017-03-07T16:42:22Z</dc:date>
    </item>
    <item>
      <title>Re: Bug? ArcGIS Pro - Export Selected Features from Attribute Table returns wrong Object ID (-1)</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/bug-arcgis-pro-export-selected-features-from/m-p/349984#M15433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Interesting, I just grabbed a random table from a geodatabase and exported it as both CSV and TXT, both had "-1" for all the ObjectIDs.&amp;nbsp; I tried a DBF as well, and the ObjectIDs were correctly populated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see the same behavior using Copy Rows in ArcGIS 10.5.&amp;nbsp; I assume you are using Copy Rows in Pro to export?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table to Table in ArcGIS 10.5 produces the same results.&amp;nbsp; I am guessing this may be purposeful but poorly documented or undocumented.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Mar 2017 17:35:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/bug-arcgis-pro-export-selected-features-from/m-p/349984#M15433</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2017-03-07T17:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: Bug? ArcGIS Pro - Export Selected Features from Attribute Table returns wrong Object ID (-1)</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/bug-arcgis-pro-export-selected-features-from/m-p/349985#M15434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Joshua,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Workflow is as follows:&lt;/P&gt;&lt;P&gt;Pro (1.4.1):&lt;/P&gt;&lt;P&gt;1) Select features using Select tool&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) Right click&amp;nbsp;on feature in "Contents" , Attribute Table&lt;/P&gt;&lt;P&gt;3) within attribute table, click button "show selected records", top right corner of table, "export"&lt;/P&gt;&lt;P&gt;4) this opens "CopyRows_management" GP tool pane&lt;/P&gt;&lt;P&gt;5) select output location, change file suffix to .csv hit "run"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ArcMap (10.5):&lt;/P&gt;&lt;P&gt;1) Select feature using Select tool&lt;/P&gt;&lt;P&gt;2) right click feature in ToC, open attribute table&lt;/P&gt;&lt;P&gt;3) within attribute table, show selected records&lt;/P&gt;&lt;P&gt;4) click top left corner of attribute table dropdown, "export"&lt;/P&gt;&lt;P&gt;5) export dialogue, Export: selected records&lt;/P&gt;&lt;P&gt;6) save as text file .csv&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not using Copy Rows in ArcMap as you can see from my workflow, and if Copy Rows is the issue, then how can I replicate my ArcMap workflow within Pro to get the desired results?&amp;nbsp;The two workflows are almost identical, although it appears in Pro they force you to use the CopyRows GP tool in order to do this. This is a very easy and routine process in ArcMap.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Mar 2017 17:48:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/bug-arcgis-pro-export-selected-features-from/m-p/349985#M15434</guid>
      <dc:creator>TylerSchwartz2</dc:creator>
      <dc:date>2017-03-07T17:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: Bug? ArcGIS Pro - Export Selected Features from Attribute Table returns wrong Object ID (-1)</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/bug-arcgis-pro-export-selected-features-from/m-p/349986#M15435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good question.&amp;nbsp; As you can see, in Pro the application is using the Copy Rows tool.&amp;nbsp; If you also use the tool in 10.5, you will get the same "-1" results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just checked the online documentation, and I didn't realize that Copy Rows only started supporting text output at 10.5, so using the tool to export to text appears to be fairly new functionality whether in Pro or ArcMap/ArcCatalog.&amp;nbsp; As was not able to find any documentation that states the "-1" is expected behavior.&amp;nbsp; Since the functionality is newer and the documentation doesn't describe "-1" as normal/expected, this looks like a bug.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The dialog driven exporting from ArcMap is using completely different code, obviously, to export, and there is no directly analogous way in ArcGIS Pro that I know of at the moment.&amp;nbsp; Maybe an Esri staffer can weigh in here, but it would be good to log a bug with Esri Support if you have access to do so.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Mar 2017 17:58:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/bug-arcgis-pro-export-selected-features-from/m-p/349986#M15435</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2017-03-07T17:58:55Z</dc:date>
    </item>
    <item>
      <title>Re: Bug? ArcGIS Pro - Export Selected Features from Attribute Table returns wrong Object ID (-1)</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/bug-arcgis-pro-export-selected-features-from/m-p/349987#M15436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have had the exact same issue, only I am not selecting individual rows for export. When I Rt-Click my point feature in the ToC --&amp;gt; Data --&amp;gt; Export Table&amp;nbsp; ... I get this "-1" in the FID field in Excel.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/377834_pastedImage_5.png" style="width: auto; height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;To get around this I added a "Join_ID" and&amp;nbsp;calculated the values for the FID before exporting to .csv. This seems unnecessary, but it is the only way around the problem that I have found.&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/377831_pastedImage_4.png" style="width: 453px; height: 187px;" /&gt;&amp;nbsp;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/377840_pastedImage_6.png" style="width: 620px; height: 117px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Oct 2017 15:32:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/bug-arcgis-pro-export-selected-features-from/m-p/349987#M15436</guid>
      <dc:creator>EdTriplett</dc:creator>
      <dc:date>2017-10-10T15:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: Bug? ArcGIS Pro - Export Selected Features from Attribute Table returns wrong Object ID (-1)</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/bug-arcgis-pro-export-selected-features-from/m-p/349988#M15437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;BUG-000091451:&amp;nbsp;The values of the ObjectID field for feature classes and the FID field for shapefiles change to -1 after running the Copy Rows geoprocessing tool and saving the output file with the .txt extension.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Should be fixed in the next release.&amp;nbsp; I just tested in Pro 2.1 and the .txt and .xls output maintains objectid instead of writing -1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Oct 2017 17:56:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/bug-arcgis-pro-export-selected-features-from/m-p/349988#M15437</guid>
      <dc:creator>KoryKramer</dc:creator>
      <dc:date>2017-10-10T17:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: Bug? ArcGIS Pro - Export Selected Features from Attribute Table returns wrong Object ID (-1)</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/bug-arcgis-pro-export-selected-features-from/m-p/349989#M15438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bug report also says fixed in 2.1&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://support.esri.com/en/bugs/nimbus/QlVHLTAwMDA5MTQ1MQ==" title="https://support.esri.com/en/bugs/nimbus/QlVHLTAwMDA5MTQ1MQ=="&gt;BUG-000091451: The values of the ObjectID field for feature classes..&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 31 May 2020 23:55:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/bug-arcgis-pro-export-selected-features-from/m-p/349989#M15438</guid>
      <dc:creator>curtvprice</dc:creator>
      <dc:date>2020-05-31T23:55:09Z</dc:date>
    </item>
  </channel>
</rss>

