<?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: Attachments lost when appending in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/attachments-lost-when-appending/m-p/1212282#M7744</link>
    <description>&lt;P&gt;The GlobalID is readonly and out of our control. Make a new field and save the ID to a new GUID field that you do have ownership. Then make up a dictionary of oldID to newID and change the foreign key in the attachment to point to the new one. Phew!&lt;/P&gt;</description>
    <pubDate>Wed, 14 Sep 2022 05:13:55 GMT</pubDate>
    <dc:creator>KimOllivier</dc:creator>
    <dc:date>2022-09-14T05:13:55Z</dc:date>
    <item>
      <title>Attachments lost when appending</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/attachments-lost-when-appending/m-p/1205287#M7662</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;When using the .append () method on a geodatabase (uploaded to AGOL) to a hosted feature layer, the attachments don't carry across to the hosted feature layer. Any ideas?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2022 07:09:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/attachments-lost-when-appending/m-p/1205287#M7662</guid>
      <dc:creator>JosephHilliard94</dc:creator>
      <dc:date>2022-08-23T07:09:56Z</dc:date>
    </item>
    <item>
      <title>Re: Attachments lost when appending</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/attachments-lost-when-appending/m-p/1205632#M7665</link>
      <description>&lt;P&gt;I use arcpy.management.Append for this with&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;arcpy.env.maintainAttachments = True
arcpy.env.preserveGlobalIds = True&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and they append with attachments and all.&lt;/P&gt;&lt;P&gt;R_&lt;/P&gt;</description>
      <pubDate>Tue, 23 Aug 2022 22:22:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/attachments-lost-when-appending/m-p/1205632#M7665</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2022-08-23T22:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: Attachments lost when appending</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/attachments-lost-when-appending/m-p/1208166#M7695</link>
      <description>&lt;P&gt;I cannot use ArcPy for this task sadly. Needs to be with the ArcGIS API for Python append method, thanks though!&lt;/P&gt;</description>
      <pubDate>Wed, 31 Aug 2022 14:21:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/attachments-lost-when-appending/m-p/1208166#M7695</guid>
      <dc:creator>JosephHilliard94</dc:creator>
      <dc:date>2022-08-31T14:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: Attachments lost when appending</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/attachments-lost-when-appending/m-p/1212282#M7744</link>
      <description>&lt;P&gt;The GlobalID is readonly and out of our control. Make a new field and save the ID to a new GUID field that you do have ownership. Then make up a dictionary of oldID to newID and change the foreign key in the attachment to point to the new one. Phew!&lt;/P&gt;</description>
      <pubDate>Wed, 14 Sep 2022 05:13:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/attachments-lost-when-appending/m-p/1212282#M7744</guid>
      <dc:creator>KimOllivier</dc:creator>
      <dc:date>2022-09-14T05:13:55Z</dc:date>
    </item>
  </channel>
</rss>

