<?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 existing hosted feature service in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/overwrite-existing-hosted-feature-service/m-p/400243#M20087</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using the process outlined here:&amp;nbsp;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/arcpy/sharing/featuresharingdraft-class.htm" title="https://pro.arcgis.com/en/pro-app/arcpy/sharing/featuresharingdraft-class.htm"&gt;FeatureSharingDraft—Sharing module | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&amp;nbsp;and am getting an error that the layer already exists.&amp;nbsp;ExecuteError: ERROR 001398: Service name 'WolfTelemetryDataOnline' already exists.&lt;BR /&gt;Failed to execute (UploadServiceDefinition).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried adding in this parameter, but it still fails:&amp;nbsp;arcpy.env.overwrite_existing_service = True&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to overwrite a hosted feature service from arcpy, or should I stick to using the Python API for this using&amp;nbsp;sdItem.publish(overwrite = True)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Jan 2019 19:52:04 GMT</pubDate>
    <dc:creator>JulieMikolajczyk3</dc:creator>
    <dc:date>2019-01-09T19:52:04Z</dc:date>
    <item>
      <title>Overwrite existing hosted feature service</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/overwrite-existing-hosted-feature-service/m-p/400243#M20087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using the process outlined here:&amp;nbsp;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/arcpy/sharing/featuresharingdraft-class.htm" title="https://pro.arcgis.com/en/pro-app/arcpy/sharing/featuresharingdraft-class.htm"&gt;FeatureSharingDraft—Sharing module | ArcGIS Desktop&lt;/A&gt;&amp;nbsp;&amp;nbsp;and am getting an error that the layer already exists.&amp;nbsp;ExecuteError: ERROR 001398: Service name 'WolfTelemetryDataOnline' already exists.&lt;BR /&gt;Failed to execute (UploadServiceDefinition).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried adding in this parameter, but it still fails:&amp;nbsp;arcpy.env.overwrite_existing_service = True&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to overwrite a hosted feature service from arcpy, or should I stick to using the Python API for this using&amp;nbsp;sdItem.publish(overwrite = True)?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2019 19:52:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/overwrite-existing-hosted-feature-service/m-p/400243#M20087</guid>
      <dc:creator>JulieMikolajczyk3</dc:creator>
      <dc:date>2019-01-09T19:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: Overwrite existing hosted feature service</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/overwrite-existing-hosted-feature-service/m-p/400244#M20088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is a code sample at the bottom of this doc that should overwrite a service:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/10.3/tools/server-toolbox/stage-service.htm" title="http://desktop.arcgis.com/en/arcmap/10.3/tools/server-toolbox/stage-service.htm"&gt;Stage Service—Help | ArcGIS for Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jan 2019 23:05:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/overwrite-existing-hosted-feature-service/m-p/400244#M20088</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-01-10T23:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: Overwrite existing hosted feature service</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/overwrite-existing-hosted-feature-service/m-p/1118402#M43033</link>
      <description>&lt;P&gt;Here's the updated link:&amp;nbsp;&lt;A href="https://desktop.arcgis.com/en/arcmap/latest/tools/server-toolbox/stage-service.htm" target="_blank" rel="noopener"&gt;https://desktop.arcgis.com/en/arcmap/latest/tools/server-toolbox/stage-service.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Also, for anyone here looking for the Pro help doc page:&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/sharing/featuresharingdraft-class.htm" target="_blank" rel="noopener"&gt;https://pro.arcgis.com/en/pro-app/latest/arcpy/sharing/featuresharingdraft-class.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 18 Nov 2021 21:06:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/overwrite-existing-hosted-feature-service/m-p/1118402#M43033</guid>
      <dc:creator>JaredPilbeam2</dc:creator>
      <dc:date>2021-11-18T21:06:11Z</dc:date>
    </item>
  </channel>
</rss>

