<?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 Automatically adding new map layers to an ArcGIS Server map service in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/automatically-adding-new-map-layers-to-an-arcgis/m-p/601690#M23197</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Hi all,&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;In my application, I use a map service with about 200 map layers. Users can manually toggle these map layer's visibility in my JavaScript app.&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;My map service is published to ArcGIS for Server with ArcMap. All layers are added (&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;and symbolised&lt;/SPAN&gt;) to ArcMap manually. &lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Initial data source is a folder containing these 200 MapInfo TAB files. These files are loaded to a File Geo Database with FME, and automatically updated every night. FME also detects new layers and includes them in my F-GDB.&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Now I would like to automate this process: &lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;STRONG&gt;1. New layers should be added to my map service automatically (symbolisation should follow some rules).&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;STRONG&gt;2. Deleted layers should be removed from my map services automatically.&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;What would be a good strategy to solve this? Any hints?&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Restriction: &lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;I'm not allowed to change anything in my source folder. I have to work with these MapInfo TAB files, I'm not allowed to move them to, let's say, an Enterprise Geo Database.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Best regards Tobias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Feb 2016 13:18:01 GMT</pubDate>
    <dc:creator>TobiasBrühlmeier1</dc:creator>
    <dc:date>2016-02-10T13:18:01Z</dc:date>
    <item>
      <title>Automatically adding new map layers to an ArcGIS Server map service</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/automatically-adding-new-map-layers-to-an-arcgis/m-p/601690#M23197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Hi all,&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;In my application, I use a map service with about 200 map layers. Users can manually toggle these map layer's visibility in my JavaScript app.&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;My map service is published to ArcGIS for Server with ArcMap. All layers are added (&lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;and symbolised&lt;/SPAN&gt;) to ArcMap manually. &lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Initial data source is a folder containing these 200 MapInfo TAB files. These files are loaded to a File Geo Database with FME, and automatically updated every night. FME also detects new layers and includes them in my F-GDB.&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Now I would like to automate this process: &lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;STRONG&gt;1. New layers should be added to my map service automatically (symbolisation should follow some rules).&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;STRONG&gt;2. Deleted layers should be removed from my map services automatically.&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;What would be a good strategy to solve this? Any hints?&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Restriction: &lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;I'm not allowed to change anything in my source folder. I have to work with these MapInfo TAB files, I'm not allowed to move them to, let's say, an Enterprise Geo Database.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;/P&gt;&lt;P style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;Best regards Tobias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2016 13:18:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/automatically-adding-new-map-layers-to-an-arcgis/m-p/601690#M23197</guid>
      <dc:creator>TobiasBrühlmeier1</dc:creator>
      <dc:date>2016-02-10T13:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically adding new map layers to an ArcGIS Server map service</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/automatically-adding-new-map-layers-to-an-arcgis/m-p/601691#M23198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any changes to layers, (adding or removing them), or the properties of a layer, (symbolization, layer definition, etc), within a map document would require that map document to be republished for a service based on that map document to reflect those changes.&amp;nbsp; You can overwrite the service using &lt;A href="http://server.arcgis.com/en/server/latest/administer/windows/scripting-service-publishing-with-arcpy.htm"&gt;Python and arcpy&lt;/A&gt;​ and run the script as a &lt;A href="http://desktop.arcgis.com/en/arcmap/latest/analyze/executing-tools/scheduling-a-python-script-to-run-at-prescribed-times.htm"&gt;scheduled task&lt;/A&gt; when there's downtime for your Server.&amp;nbsp; You can also add those layers and symbolize them in an automated fashion using the &lt;A href="http://http//desktop.arcgis.com/en/arcmap/latest/analyze/arcpy-mapping/introduction-to-arcpy-mapping.htm"&gt;arcpy.mapping&lt;/A&gt; module.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Feb 2016 19:34:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/automatically-adding-new-map-layers-to-an-arcgis/m-p/601691#M23198</guid>
      <dc:creator>JonathanQuinn</dc:creator>
      <dc:date>2016-02-10T19:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically adding new map layers to an ArcGIS Server map service</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/automatically-adding-new-map-layers-to-an-arcgis/m-p/601692#M23199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot, that helps!&lt;/P&gt;&lt;P&gt;I will try with Python.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Tobias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Feb 2016 07:15:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/automatically-adding-new-map-layers-to-an-arcgis/m-p/601692#M23199</guid>
      <dc:creator>TobiasBrühlmeier1</dc:creator>
      <dc:date>2016-02-11T07:15:43Z</dc:date>
    </item>
  </channel>
</rss>

