<?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 Where is layer.id to be set? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/where-is-layer-id-to-be-set/m-p/1377215#M83519</link>
    <description>&lt;P&gt;according to&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-Layer.html#id," target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-Layer.html#id,&lt;/A&gt;&amp;nbsp;the layer.id can be set so that it remains unique and, presumably static. This is not the numeric&amp;nbsp; layerID value, but layer.id of the form&amp;nbsp;&lt;SPAN&gt;18d65c0f0b2-layer-29. Where is this changed?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 01 Feb 2024 19:10:59 GMT</pubDate>
    <dc:creator>SterlingWalsh</dc:creator>
    <dc:date>2024-02-01T19:10:59Z</dc:date>
    <item>
      <title>Where is layer.id to be set?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/where-is-layer-id-to-be-set/m-p/1377215#M83519</link>
      <description>&lt;P&gt;according to&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-Layer.html#id," target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-Layer.html#id,&lt;/A&gt;&amp;nbsp;the layer.id can be set so that it remains unique and, presumably static. This is not the numeric&amp;nbsp; layerID value, but layer.id of the form&amp;nbsp;&lt;SPAN&gt;18d65c0f0b2-layer-29. Where is this changed?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Feb 2024 19:10:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/where-is-layer-id-to-be-set/m-p/1377215#M83519</guid>
      <dc:creator>SterlingWalsh</dc:creator>
      <dc:date>2024-02-01T19:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: Where is layer.id to be set?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/where-is-layer-id-to-be-set/m-p/1377361#M83524</link>
      <description>&lt;P&gt;You would include the id in the parameters passed to the layer's constructor, for example:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var layer = new FeatureLayer({
	id: "myLayerID",
	url: "https://myServer/arcgis/rest/services/MyService/MapServer/0"
});&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 01 Feb 2024 23:12:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/where-is-layer-id-to-be-set/m-p/1377361#M83524</guid>
      <dc:creator>JoelBennett</dc:creator>
      <dc:date>2024-02-01T23:12:52Z</dc:date>
    </item>
  </channel>
</rss>

