<?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 Overwriting Feature Service Stand alone server in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/overwriting-feature-service-stand-alone-server/m-p/1279206#M67429</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to create a python script to automate the publishing of Map Services to a stand alone arcgis server. I've got a script working to publish the mapservices however,&amp;nbsp; I get an error when I try and overwrite a Mapservice which also needs to be a Feature service. I have the overwrite flag in the definition to true, but I still get an error that tells me there is already a Feature Service with that name. Is there a setting I'm missing?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Edit: I've basically combined both elements of the 2 examples linked below, but it fails to overwrite the Feature service.&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/3.1/arcpylsharingImapservicedraft-class.htm#GUID-F39810A0-180C-4E92" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/3.1/arcpylsharingImapservicedraft-class.htm#GUID-F39810A0-180C-4E92&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/3.1/arcpy/sharing/mapservicedraft-class.htm#GUID-5EF32499-622E-4B2C-A8F5-5792912DC5A4" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/3.1/arcpy/sharing/mapservicedraft-class.htm#GUID-5EF32499-622E-4B2C-A8F5-5792912DC5A4&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 17 Apr 2023 17:06:59 GMT</pubDate>
    <dc:creator>christicles</dc:creator>
    <dc:date>2023-04-17T17:06:59Z</dc:date>
    <item>
      <title>Overwriting Feature Service Stand alone server</title>
      <link>https://community.esri.com/t5/python-questions/overwriting-feature-service-stand-alone-server/m-p/1279206#M67429</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to create a python script to automate the publishing of Map Services to a stand alone arcgis server. I've got a script working to publish the mapservices however,&amp;nbsp; I get an error when I try and overwrite a Mapservice which also needs to be a Feature service. I have the overwrite flag in the definition to true, but I still get an error that tells me there is already a Feature Service with that name. Is there a setting I'm missing?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Edit: I've basically combined both elements of the 2 examples linked below, but it fails to overwrite the Feature service.&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/3.1/arcpylsharingImapservicedraft-class.htm#GUID-F39810A0-180C-4E92" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/3.1/arcpylsharingImapservicedraft-class.htm#GUID-F39810A0-180C-4E92&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/3.1/arcpy/sharing/mapservicedraft-class.htm#GUID-5EF32499-622E-4B2C-A8F5-5792912DC5A4" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/3.1/arcpy/sharing/mapservicedraft-class.htm#GUID-5EF32499-622E-4B2C-A8F5-5792912DC5A4&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Apr 2023 17:06:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/overwriting-feature-service-stand-alone-server/m-p/1279206#M67429</guid>
      <dc:creator>christicles</dc:creator>
      <dc:date>2023-04-17T17:06:59Z</dc:date>
    </item>
    <item>
      <title>Re: Overwriting Feature Service Stand alone server</title>
      <link>https://community.esri.com/t5/python-questions/overwriting-feature-service-stand-alone-server/m-p/1279574#M67436</link>
      <description>&lt;P&gt;Never mind. Turns out to have been human error. I had the line to set the overwrite flag after the line to export the sdDraft.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Apr 2023 09:24:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/overwriting-feature-service-stand-alone-server/m-p/1279574#M67436</guid>
      <dc:creator>christicles</dc:creator>
      <dc:date>2023-04-18T09:24:00Z</dc:date>
    </item>
  </channel>
</rss>

