<?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 Referencing layers in ArcGIS Services Directory in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/referencing-layers-in-arcgis-services-directory/m-p/214122#M19817</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I know you can reference different layers by using the ID number in provided by the ArcGIS Services Directory. But, when a new service is added sometimes the number changes and as a result you web map references the wrong service.Is there a way to reference the correct service without using the ID provided by the ArcGIS Services Directory? May be the service name and if so is there any examples in javascript?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 May 2012 14:11:49 GMT</pubDate>
    <dc:creator>NickErlacker</dc:creator>
    <dc:date>2012-05-16T14:11:49Z</dc:date>
    <item>
      <title>Referencing layers in ArcGIS Services Directory</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/referencing-layers-in-arcgis-services-directory/m-p/214122#M19817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I know you can reference different layers by using the ID number in provided by the ArcGIS Services Directory. But, when a new service is added sometimes the number changes and as a result you web map references the wrong service.Is there a way to reference the correct service without using the ID provided by the ArcGIS Services Directory? May be the service name and if so is there any examples in javascript?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2012 14:11:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/referencing-layers-in-arcgis-services-directory/m-p/214122#M19817</guid>
      <dc:creator>NickErlacker</dc:creator>
      <dc:date>2012-05-16T14:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: Referencing layers in ArcGIS Services Directory</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/referencing-layers-in-arcgis-services-directory/m-p/214123#M19818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Nick,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This post might help you out...sounds like a solution is there somewhere.&amp;nbsp; If it does help you, you should mark the solution in the post and in your post so others can find it easier.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/20898-using-layer-name-instead-of-layer-id?highlight=layer"&gt;http://forums.arcgis.com/threads/20898-using-layer-name-instead-of-layer-id?highlight=layer&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jay&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 May 2012 14:32:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/referencing-layers-in-arcgis-services-directory/m-p/214123#M19818</guid>
      <dc:creator>JMcNeil</dc:creator>
      <dc:date>2012-05-16T14:32:32Z</dc:date>
    </item>
  </channel>
</rss>

