<?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 Overwrite Hosted Feature Layer with attachments/relationships - Python Script in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/overwrite-hosted-feature-layer-with-attachments/m-p/1368045#M56738</link>
    <description>&lt;P&gt;Good Morning.&lt;/P&gt;&lt;P&gt;I've been working on a workflow with help from a previous post dealing with updating an AGOL Hosted Feature Layer using the truncate and append tools within a stand-alone Python Script. It works just fine with a plain Hosted Feature Layer from a File GDB feature class. However, the issue I am having is updating/overwriting the Hosted Feature Layer(s) that contain attachment(s) and are part of a relationship class from the original File GDB. Finding difficulties getting additional assistance on how to do this. I can do it within ArcGIS Pro by using the tool. However, I want to write a Python script and incorporate it into my nightly Batch File(s) to update our data.&lt;/P&gt;&lt;P&gt;Appreciate your help&lt;/P&gt;</description>
    <pubDate>Tue, 09 Jan 2024 19:02:29 GMT</pubDate>
    <dc:creator>ModernElectric</dc:creator>
    <dc:date>2024-01-09T19:02:29Z</dc:date>
    <item>
      <title>Overwrite Hosted Feature Layer with attachments/relationships - Python Script</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/overwrite-hosted-feature-layer-with-attachments/m-p/1368045#M56738</link>
      <description>&lt;P&gt;Good Morning.&lt;/P&gt;&lt;P&gt;I've been working on a workflow with help from a previous post dealing with updating an AGOL Hosted Feature Layer using the truncate and append tools within a stand-alone Python Script. It works just fine with a plain Hosted Feature Layer from a File GDB feature class. However, the issue I am having is updating/overwriting the Hosted Feature Layer(s) that contain attachment(s) and are part of a relationship class from the original File GDB. Finding difficulties getting additional assistance on how to do this. I can do it within ArcGIS Pro by using the tool. However, I want to write a Python script and incorporate it into my nightly Batch File(s) to update our data.&lt;/P&gt;&lt;P&gt;Appreciate your help&lt;/P&gt;</description>
      <pubDate>Tue, 09 Jan 2024 19:02:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/overwrite-hosted-feature-layer-with-attachments/m-p/1368045#M56738</guid>
      <dc:creator>ModernElectric</dc:creator>
      <dc:date>2024-01-09T19:02:29Z</dc:date>
    </item>
  </channel>
</rss>

