<?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: Python script to re-publish a MXD as a service and keep all the service settings in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/python-script-to-re-publish-a-mxd-as-a-service-and/m-p/4040#M212</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I seen some scripts that alter the draft file XML, I may look at those - in the mean time it is back to logging on on Sunday mornings to update services &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 30 Apr 2017 09:34:32 GMT</pubDate>
    <dc:creator>AdrianMarsden</dc:creator>
    <dc:date>2017-04-30T09:34:32Z</dc:date>
    <item>
      <title>Python script to re-publish a MXD as a service and keep all the service settings</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/python-script-to-re-publish-a-mxd-as-a-service-and/m-p/4038#M210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I've found lots of scripts that take a MXD and publish it, or take a sddraft file. &amp;nbsp;However these all seem to create a new service with the default settings. &amp;nbsp;I really need a script that replicates the "Share As&amp;gt;&amp;gt;Map Service&amp;gt;&amp;gt;Overwrite and existing service" menu options in Desktop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It would be nice if at the end of this Wizard there was an option to save what you have as a sddraft, as at that point it has picked up all the settings from the existing service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have I missed something here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;ACM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Apr 2017 11:29:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/python-script-to-re-publish-a-mxd-as-a-service-and/m-p/4038#M210</guid>
      <dc:creator>AdrianMarsden</dc:creator>
      <dc:date>2017-04-28T11:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: Python script to re-publish a MXD as a service and keep all the service settings</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/python-script-to-re-publish-a-mxd-as-a-service-and/m-p/4039#M211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a good idea to submit as an enhancement, as there isn't as easy way to do this outside of python. &amp;nbsp;If you were familiar with Python, you can get the properties for the service prior to publishing, publish the new service, and apply the original settings. &amp;nbsp;You can also modify the SD draft file as it's XML and update whatever settings you need to.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Apr 2017 16:15:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/python-script-to-re-publish-a-mxd-as-a-service-and/m-p/4039#M211</guid>
      <dc:creator>JonathanQuinn</dc:creator>
      <dc:date>2017-04-28T16:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: Python script to re-publish a MXD as a service and keep all the service settings</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/python-script-to-re-publish-a-mxd-as-a-service-and/m-p/4040#M212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, I seen some scripts that alter the draft file XML, I may look at those - in the mean time it is back to logging on on Sunday mornings to update services &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Apr 2017 09:34:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/python-script-to-re-publish-a-mxd-as-a-service-and/m-p/4040#M212</guid>
      <dc:creator>AdrianMarsden</dc:creator>
      <dc:date>2017-04-30T09:34:32Z</dc:date>
    </item>
  </channel>
</rss>

