<?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 Deletion of existing Imagery Service in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/deletion-of-existing-imagery-service/m-p/775353#M910</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have two scripts that I have created using examples within several sources of documentation.&amp;nbsp; The first is a python script that repairs existing mosaic dataset paths and then creates an imagery service from that mosaice dataset.&amp;nbsp; The second python script is a precursor that removes/deletes the same imagery service.&amp;nbsp; This imagery service needs re-creating because we are copying from production to nonproduction environments. The repair/service creation python script successfully works.&amp;nbsp; I cannot find an error with the python script that tries to delete the imagery service.&amp;nbsp; I am a novice Python'er so please be gentle...lol&amp;nbsp; &amp;nbsp;The deletion script is something that I cobbled together from three different examples and when I run the script in ArcCatalog from a toolbox it simply completes within two seconds with no errors but nothing happens.&amp;nbsp; I would greatly appreciate it if anyone has any thoughts....THANKS!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Jan 2019 15:12:49 GMT</pubDate>
    <dc:creator>SteveMorgan</dc:creator>
    <dc:date>2019-01-04T15:12:49Z</dc:date>
    <item>
      <title>Deletion of existing Imagery Service</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/deletion-of-existing-imagery-service/m-p/775353#M910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have two scripts that I have created using examples within several sources of documentation.&amp;nbsp; The first is a python script that repairs existing mosaic dataset paths and then creates an imagery service from that mosaice dataset.&amp;nbsp; The second python script is a precursor that removes/deletes the same imagery service.&amp;nbsp; This imagery service needs re-creating because we are copying from production to nonproduction environments. The repair/service creation python script successfully works.&amp;nbsp; I cannot find an error with the python script that tries to delete the imagery service.&amp;nbsp; I am a novice Python'er so please be gentle...lol&amp;nbsp; &amp;nbsp;The deletion script is something that I cobbled together from three different examples and when I run the script in ArcCatalog from a toolbox it simply completes within two seconds with no errors but nothing happens.&amp;nbsp; I would greatly appreciate it if anyone has any thoughts....THANKS!!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2019 15:12:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/deletion-of-existing-imagery-service/m-p/775353#M910</guid>
      <dc:creator>SteveMorgan</dc:creator>
      <dc:date>2019-01-04T15:12:49Z</dc:date>
    </item>
  </channel>
</rss>

