<?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 bug when re-adding feature to a hosted layer in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/attachments-bug-when-re-adding-feature-to-a-hosted/m-p/1686434#M67926</link>
    <description>&lt;P&gt;I was running into the same issue with hosted feature services on Arcgis Online.&amp;nbsp; Attachments seemed to get deleted with some layers but not others.&amp;nbsp; For the ones that were not deleting, I had set up the original layer in a geodatabase and turned on attachments in the gdb.featureclass, then I published as a web layer to AGO.&amp;nbsp; After finding this post (Thank you)&amp;nbsp; I turned off attachments in the AGO feature layer (which deleted all of the attachments), then turned it on again so that AGO would rebuild the Attachments related table and relationship class.&amp;nbsp; After doing that, I reloaded the records and attachments.&amp;nbsp; The attachments seem to delete when the records were deleted.&amp;nbsp; We have an FME process that updates a primary layer with sublayer data/attachments so its key to maintain the globalid-rel_globalid relationship.&amp;nbsp; I ran the process a couple times to make sure it was working and its been good so far.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope it works out for you.&lt;/P&gt;</description>
    <pubDate>Tue, 24 Feb 2026 21:41:29 GMT</pubDate>
    <dc:creator>SoniaDickersonTCC</dc:creator>
    <dc:date>2026-02-24T21:41:29Z</dc:date>
    <item>
      <title>Attachments bug when re-adding feature to a hosted layer</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/attachments-bug-when-re-adding-feature-to-a-hosted/m-p/1600767#M64196</link>
      <description>&lt;P&gt;I think I might have encountered a bug related to attachments for a hosted feature layer.&lt;/P&gt;&lt;P&gt;So I have a point layer with attachments, if I delete the feature I would assume that the attachment references are cascade deleted as well. Exporting the data to a file geodatabase confirms that.&lt;/P&gt;&lt;P&gt;BUT... if I now add a new point with the same GlobalID as the one deleted, there seems to be some ghost attachment references - it looks like there are attachments, and the REST api queryAttachments confirms that, but they all return 500 server error.&lt;/P&gt;&lt;P&gt;Removing any attachments before deletion of the feature is a workaround.&lt;/P&gt;&lt;P&gt;We have a workflow where we have a in-house geodatabase that periodically syncs with AGOL, and only features that are "active" should be accessible in the AGOL layer, so features are added and deleted and we want to preserve the GlobalID's so that the match the in-house egdb.&lt;/P&gt;</description>
      <pubDate>Mon, 31 Mar 2025 08:46:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/attachments-bug-when-re-adding-feature-to-a-hosted/m-p/1600767#M64196</guid>
      <dc:creator>Nordpil</dc:creator>
      <dc:date>2025-03-31T08:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: Attachments bug when re-adding feature to a hosted layer</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/attachments-bug-when-re-adding-feature-to-a-hosted/m-p/1600825#M64199</link>
      <description>&lt;P&gt;Hi &lt;SPAN style="color:var(--ck-color-mention-text);"&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/855463"&gt;@Nordpil&lt;/a&gt;&lt;/SPAN&gt;, we appreciate you sharing a potential bug with the broader Esri Community; however, Esri does not actively track software defects posted here. The official channel for investigating and validating bugs is &lt;A href="https://www.esri.com/en-us/contact?rsource=%2Fcontact#c=us&amp;amp;t=5" target="_blank"&gt;Esri Technical Support&lt;/A&gt;. All customers experiencing a potential software bug should leverage technical support to report and investigate the issue.&lt;/P&gt;&lt;P&gt;By reporting bugs through technical support, Esri can better track the scope and impact of the issue across all our customers and better prioritize it with our product teams. Our teams can also investigate the issue more thoroughly to see if there is a solution, workaround, or patch to get you back up and running as soon as possible.&lt;/P&gt;&lt;P&gt;As a reminder, Esri Community is primarily a self-service support platform where Esri users can ask or answer each other’s questions, share feature requests, and collaborate to solve problems with GIS.&lt;/P&gt;&lt;P&gt;&lt;I&gt;*Note that this is a scripted message prompted when posts allude to a potential product bug.&lt;/I&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 31 Mar 2025 13:38:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/attachments-bug-when-re-adding-feature-to-a-hosted/m-p/1600825#M64199</guid>
      <dc:creator>JesseCloutier</dc:creator>
      <dc:date>2025-03-31T13:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: Attachments bug when re-adding feature to a hosted layer</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/attachments-bug-when-re-adding-feature-to-a-hosted/m-p/1605140#M64398</link>
      <description>&lt;P&gt;I have submitted the case to our local reseller, they have reproduced and confirmed it and passed it on to ESRI.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Apr 2025 12:47:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/attachments-bug-when-re-adding-feature-to-a-hosted/m-p/1605140#M64398</guid>
      <dc:creator>Nordpil</dc:creator>
      <dc:date>2025-04-11T12:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: Attachments bug when re-adding feature to a hosted layer</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/attachments-bug-when-re-adding-feature-to-a-hosted/m-p/1667537#M67172</link>
      <description>&lt;P&gt;did you get a resolution? we are having the same here!&lt;/P&gt;</description>
      <pubDate>Thu, 20 Nov 2025 15:43:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/attachments-bug-when-re-adding-feature-to-a-hosted/m-p/1667537#M67172</guid>
      <dc:creator>JosephHilliard94</dc:creator>
      <dc:date>2025-11-20T15:43:07Z</dc:date>
    </item>
    <item>
      <title>Re: Attachments bug when re-adding feature to a hosted layer</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/attachments-bug-when-re-adding-feature-to-a-hosted/m-p/1667892#M67181</link>
      <description>&lt;P&gt;I just checked if it was ever registered as a bug, but I am pretty sure it is still there. We have implemented in our routine (fme workspaces) to delete attachments using the rest api before removing a feature.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Nov 2025 15:50:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/attachments-bug-when-re-adding-feature-to-a-hosted/m-p/1667892#M67181</guid>
      <dc:creator>Nordpil</dc:creator>
      <dc:date>2025-11-21T15:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: Attachments bug when re-adding feature to a hosted layer</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/attachments-bug-when-re-adding-feature-to-a-hosted/m-p/1668134#M67188</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/572139"&gt;@JosephHilliard94&lt;/a&gt;&amp;nbsp;if you are in touch with ESRI support, you can check the status of&amp;nbsp;bug-000175715&lt;/P&gt;</description>
      <pubDate>Mon, 24 Nov 2025 08:11:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/attachments-bug-when-re-adding-feature-to-a-hosted/m-p/1668134#M67188</guid>
      <dc:creator>Nordpil</dc:creator>
      <dc:date>2025-11-24T08:11:59Z</dc:date>
    </item>
    <item>
      <title>Re: Attachments bug when re-adding feature to a hosted layer</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/attachments-bug-when-re-adding-feature-to-a-hosted/m-p/1686434#M67926</link>
      <description>&lt;P&gt;I was running into the same issue with hosted feature services on Arcgis Online.&amp;nbsp; Attachments seemed to get deleted with some layers but not others.&amp;nbsp; For the ones that were not deleting, I had set up the original layer in a geodatabase and turned on attachments in the gdb.featureclass, then I published as a web layer to AGO.&amp;nbsp; After finding this post (Thank you)&amp;nbsp; I turned off attachments in the AGO feature layer (which deleted all of the attachments), then turned it on again so that AGO would rebuild the Attachments related table and relationship class.&amp;nbsp; After doing that, I reloaded the records and attachments.&amp;nbsp; The attachments seem to delete when the records were deleted.&amp;nbsp; We have an FME process that updates a primary layer with sublayer data/attachments so its key to maintain the globalid-rel_globalid relationship.&amp;nbsp; I ran the process a couple times to make sure it was working and its been good so far.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope it works out for you.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Feb 2026 21:41:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/attachments-bug-when-re-adding-feature-to-a-hosted/m-p/1686434#M67926</guid>
      <dc:creator>SoniaDickersonTCC</dc:creator>
      <dc:date>2026-02-24T21:41:29Z</dc:date>
    </item>
  </channel>
</rss>

