<?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: Adding a new Map Service without changing the service Id of existing services in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/adding-a-new-map-service-without-changing-the/m-p/31735#M136</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think that the IDs are simply consecutive integers which represent the draw order in the map document.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I do is to provide an abstraction above this.&amp;nbsp; For example, the code might need to find the layer associated with Vegetation so it looks that up and uses it rather then hard coding the number 1 everywhere.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Designing solutions around numbers which can change seem fragile.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 17 Feb 2013 21:13:12 GMT</pubDate>
    <dc:creator>RichardWatson</dc:creator>
    <dc:date>2013-02-17T21:13:12Z</dc:date>
    <item>
      <title>Adding a new Map Service without changing the service Id of existing services</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/adding-a-new-map-service-without-changing-the/m-p/31734#M135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi there,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to add a new service to a group of existing services in ArcGIS Server 10.0. Since the new service is going to be added in a Group Layer in the middle of existing services, it changes the id of the existing services. If I want to do that, I have to change a lot of places in my code to replace the old Ids with the new ones. I was wondering if there is any way that I can create a new service withough needing to change the id of other services. Is that possible?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2013 21:01:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/adding-a-new-map-service-without-changing-the/m-p/31734#M135</guid>
      <dc:creator>FarhadNavaei</dc:creator>
      <dc:date>2013-02-05T21:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: Adding a new Map Service without changing the service Id of existing services</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/adding-a-new-map-service-without-changing-the/m-p/31735#M136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think that the IDs are simply consecutive integers which represent the draw order in the map document.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I do is to provide an abstraction above this.&amp;nbsp; For example, the code might need to find the layer associated with Vegetation so it looks that up and uses it rather then hard coding the number 1 everywhere.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Designing solutions around numbers which can change seem fragile.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 17 Feb 2013 21:13:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/adding-a-new-map-service-without-changing-the/m-p/31735#M136</guid>
      <dc:creator>RichardWatson</dc:creator>
      <dc:date>2013-02-17T21:13:12Z</dc:date>
    </item>
  </channel>
</rss>

