<?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 Update map service rest url using arcpy in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/update-map-service-rest-url-using-arcpy/m-p/760429#M19886</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;/P&gt;&lt;P&gt;I have to update map service rest urls from system test environment to production environment. For example&amp;nbsp;&lt;/P&gt;&lt;P&gt;system test environment service url :&amp;nbsp;&lt;A href="https://systemtestenv.domain.com:6443/arcgis/rest"&gt;https://systemtestenvserver.domain.com:6443/arcgis/rest&lt;/A&gt;/services/Dist/MapServer&lt;/P&gt;&lt;P&gt;Production env url :&amp;nbsp;&lt;A href="https://systemtestenv.domain.com:6443/arcgis/rest" style="color: #2989c5; text-decoration: none;"&gt;https://productionenvserver.domain.com:6443/arcgis/rest&lt;/A&gt;&lt;SPAN&gt;/services/Dist/MapServer&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;As you see above only environment server is different in map service url, I have make these changes for around 54 urls and in 24 config files. Manually its a time consuming process to make changes in config files, I am looking for arcpy snippet to automate this process.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Nov 2019 09:01:50 GMT</pubDate>
    <dc:creator>TarunPunetha</dc:creator>
    <dc:date>2019-11-28T09:01:50Z</dc:date>
    <item>
      <title>Update map service rest url using arcpy</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/update-map-service-rest-url-using-arcpy/m-p/760429#M19886</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;/P&gt;&lt;P&gt;I have to update map service rest urls from system test environment to production environment. For example&amp;nbsp;&lt;/P&gt;&lt;P&gt;system test environment service url :&amp;nbsp;&lt;A href="https://systemtestenv.domain.com:6443/arcgis/rest"&gt;https://systemtestenvserver.domain.com:6443/arcgis/rest&lt;/A&gt;/services/Dist/MapServer&lt;/P&gt;&lt;P&gt;Production env url :&amp;nbsp;&lt;A href="https://systemtestenv.domain.com:6443/arcgis/rest" style="color: #2989c5; text-decoration: none;"&gt;https://productionenvserver.domain.com:6443/arcgis/rest&lt;/A&gt;&lt;SPAN&gt;/services/Dist/MapServer&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;As you see above only environment server is different in map service url, I have make these changes for around 54 urls and in 24 config files. Manually its a time consuming process to make changes in config files, I am looking for arcpy snippet to automate this process.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Nov 2019 09:01:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/update-map-service-rest-url-using-arcpy/m-p/760429#M19886</guid>
      <dc:creator>TarunPunetha</dc:creator>
      <dc:date>2019-11-28T09:01:50Z</dc:date>
    </item>
  </channel>
</rss>

