<?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 existing service with UploadServiceDefinition_server in Developers Questions</title>
    <link>https://community.esri.com/t5/developers-questions/overwriting-existing-service-with/m-p/392414#M2567</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to overwrite an existing service using&amp;nbsp;arcpy.UploadServiceDefinition_server method having just the SD file, regardless how the SD file has been generated?&lt;/P&gt;&lt;P&gt;I can see a sample&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/10.3/tools/server-toolbox/upload-service-definition.htm" title="http://desktop.arcgis.com/en/arcmap/10.3/tools/server-toolbox/upload-service-definition.htm"&gt;Upload Service Definition—Help | ArcGIS for Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;which requires operating on the SDDRAFT, but what if I dont have access to it and all i have is the SD file which i know i want to use to overwrite (or create a new if not existing) service? It seems that currently it is the SD file setting that dominates the process and i dont have control over this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Szymon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Apr 2018 15:41:54 GMT</pubDate>
    <dc:creator>SzymonPiskula1</dc:creator>
    <dc:date>2018-04-30T15:41:54Z</dc:date>
    <item>
      <title>Overwriting existing service with UploadServiceDefinition_server</title>
      <link>https://community.esri.com/t5/developers-questions/overwriting-existing-service-with/m-p/392414#M2567</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to overwrite an existing service using&amp;nbsp;arcpy.UploadServiceDefinition_server method having just the SD file, regardless how the SD file has been generated?&lt;/P&gt;&lt;P&gt;I can see a sample&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://desktop.arcgis.com/en/arcmap/10.3/tools/server-toolbox/upload-service-definition.htm" title="http://desktop.arcgis.com/en/arcmap/10.3/tools/server-toolbox/upload-service-definition.htm"&gt;Upload Service Definition—Help | ArcGIS for Desktop&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;which requires operating on the SDDRAFT, but what if I dont have access to it and all i have is the SD file which i know i want to use to overwrite (or create a new if not existing) service? It seems that currently it is the SD file setting that dominates the process and i dont have control over this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Szymon&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2018 15:41:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/overwriting-existing-service-with/m-p/392414#M2567</guid>
      <dc:creator>SzymonPiskula1</dc:creator>
      <dc:date>2018-04-30T15:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: Overwriting existing service with UploadServiceDefinition_server</title>
      <link>https://community.esri.com/t5/developers-questions/overwriting-existing-service-with/m-p/392415#M2568</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Szymon,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will not need a .ssdraft file.&amp;nbsp; In the link you provided above that contains the samples you can simply comment out the arcpy.StageService_server function.&amp;nbsp; This function simply converts a .ssdraft to an .sd file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Apr 2018 18:15:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/developers-questions/overwriting-existing-service-with/m-p/392415#M2568</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2018-04-30T18:15:21Z</dc:date>
    </item>
  </channel>
</rss>

