<?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: Export Attachment Geoprocessing Tool in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/export-attachment-geoprocessing-tool/m-p/1692339#M102485</link>
    <description>&lt;P&gt;The solution is to just not use the geoprocessing toolbox but to run the snippet shown above with&lt;/P&gt;&lt;P&gt;arcpy.env.preserveGlobalIds = True&lt;/P&gt;&lt;P&gt;arcpy.management.ExportAttachments(...)&lt;/P&gt;</description>
    <pubDate>Tue, 24 Mar 2026 19:25:35 GMT</pubDate>
    <dc:creator>g_maps</dc:creator>
    <dc:date>2026-03-24T19:25:35Z</dc:date>
    <item>
      <title>Export Attachment Geoprocessing Tool</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/export-attachment-geoprocessing-tool/m-p/1692331#M102484</link>
      <description>&lt;P&gt;Why does the "Export Attachment" tool in ArcGIS Pro not preserve GlobalID when using GlobalID solely to name exported features? Why would I want to export an attachment that now has no relation to the record it was originally tied to? What is more interesting, when I run the following snippet of code:&lt;/P&gt;&lt;P&gt;arcpy.management.ExportAttachments(&lt;BR /&gt;input_layer,&lt;BR /&gt;attachment_folder,&lt;BR /&gt;"",&lt;BR /&gt;"REPLACE",&lt;BR /&gt;"GlobalID"&lt;BR /&gt;)&lt;/P&gt;&lt;P&gt;It preserves GlobalID and my attachments are output as expected. Why would the GUI from ArcGIS Pro Export Attachments tool behave differently? There are also no environments to set Preserve GlobalID to True so I'm not sure how this can be controlled when using the tool from the ArcPro geoprocessing toolbox directly.&lt;/P&gt;&lt;P&gt;ArcPro Version 3.4.0&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2026 19:05:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/export-attachment-geoprocessing-tool/m-p/1692331#M102484</guid>
      <dc:creator>g_maps</dc:creator>
      <dc:date>2026-03-24T19:05:35Z</dc:date>
    </item>
    <item>
      <title>Re: Export Attachment Geoprocessing Tool</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/export-attachment-geoprocessing-tool/m-p/1692339#M102485</link>
      <description>&lt;P&gt;The solution is to just not use the geoprocessing toolbox but to run the snippet shown above with&lt;/P&gt;&lt;P&gt;arcpy.env.preserveGlobalIds = True&lt;/P&gt;&lt;P&gt;arcpy.management.ExportAttachments(...)&lt;/P&gt;</description>
      <pubDate>Tue, 24 Mar 2026 19:25:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/export-attachment-geoprocessing-tool/m-p/1692339#M102485</guid>
      <dc:creator>g_maps</dc:creator>
      <dc:date>2026-03-24T19:25:35Z</dc:date>
    </item>
  </channel>
</rss>

