<?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>idea Get Web Map Layer by title removed in 2.4.0, bring it back!! in ArcGIS API for Python Ideas</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-ideas/get-web-map-layer-by-title-removed-in-2-4-0-bring/idi-p/1546558</link>
    <description>&lt;P&gt;In the API version 2.3.X and lower there was a lovely WebMap object method called get_layer() that allowed you to retrieve the layer definition using a &lt;EM&gt;title&lt;/EM&gt; parameter and supplying in the name of the layer as a string. See the docs &lt;A href="https://developers.arcgis.com/python-2-3/api-reference/arcgis.mapping.toc.html#arcgis.mapping.WebMap.get_layer" target="_blank" rel="noopener"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;With 2.4.0 this neat functionality has been removed. We now access the layer via&amp;nbsp;&lt;SPAN&gt;m.content.layers[index_position], which means I need to know the index of the layer in the first place. I now have to write a custom method to get the layer of interest based on the title!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please reinstate this functionality and bring back a way for us to get the WebMap (Map) layer by the layer title!&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 08 Oct 2024 14:50:28 GMT</pubDate>
    <dc:creator>Clubdebambos</dc:creator>
    <dc:date>2024-10-08T14:50:28Z</dc:date>
    <item>
      <title>Get Web Map Layer by title removed in 2.4.0, bring it back!!</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-ideas/get-web-map-layer-by-title-removed-in-2-4-0-bring/idi-p/1546558</link>
      <description>&lt;P&gt;In the API version 2.3.X and lower there was a lovely WebMap object method called get_layer() that allowed you to retrieve the layer definition using a &lt;EM&gt;title&lt;/EM&gt; parameter and supplying in the name of the layer as a string. See the docs &lt;A href="https://developers.arcgis.com/python-2-3/api-reference/arcgis.mapping.toc.html#arcgis.mapping.WebMap.get_layer" target="_blank" rel="noopener"&gt;here&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;With 2.4.0 this neat functionality has been removed. We now access the layer via&amp;nbsp;&lt;SPAN&gt;m.content.layers[index_position], which means I need to know the index of the layer in the first place. I now have to write a custom method to get the layer of interest based on the title!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Please reinstate this functionality and bring back a way for us to get the WebMap (Map) layer by the layer title!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Oct 2024 14:50:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-ideas/get-web-map-layer-by-title-removed-in-2-4-0-bring/idi-p/1546558</guid>
      <dc:creator>Clubdebambos</dc:creator>
      <dc:date>2024-10-08T14:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: Get Web Map Layer by title removed in 2.4.0, bring it back!!</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-ideas/get-web-map-layer-by-title-removed-in-2-4-0-bring/idc-p/1546933#M114</link>
      <description>&lt;P&gt;Thanks for posting this. When making such a big shift it's difficult to gauge the importance of certain methods and properties that were previously available.&lt;/P&gt;
&lt;P&gt;Since a lot of methods now rely on layer index we will make a method that allows you to get the layer and the index of said layer more easily.&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2024 12:53:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-ideas/get-web-map-layer-by-title-removed-in-2-4-0-bring/idc-p/1546933#M114</guid>
      <dc:creator>NanaeAubry</dc:creator>
      <dc:date>2024-10-09T12:53:51Z</dc:date>
    </item>
    <item>
      <title>Re: Get Web Map Layer by title removed in 2.4.0, bring it back!!</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-ideas/get-web-map-layer-by-title-removed-in-2-4-0-bring/idc-p/1546980#M116</link>
      <description>&lt;P&gt;Yes please, bring this back!&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2024 14:02:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-ideas/get-web-map-layer-by-title-removed-in-2-4-0-bring/idc-p/1546980#M116</guid>
      <dc:creator>Geraldine</dc:creator>
      <dc:date>2024-10-09T14:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: Get Web Map Layer by title removed in 2.4.0, bring it back!!</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-ideas/get-web-map-layer-by-title-removed-in-2-4-0-bring/idc-p/1561224#M127</link>
      <description>&lt;P&gt;I second this! Any word on when this will be resurrected?&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2024 13:51:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-ideas/get-web-map-layer-by-title-removed-in-2-4-0-bring/idc-p/1561224#M127</guid>
      <dc:creator>jkarmon</dc:creator>
      <dc:date>2024-11-21T13:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: Get Web Map Layer by title removed in 2.4.0, bring it back!!</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-ideas/get-web-map-layer-by-title-removed-in-2-4-0-bring/idc-p/1585018#M134</link>
      <description>&lt;P&gt;I'd also like to add my voice to bring this feature back!&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2025 16:48:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-ideas/get-web-map-layer-by-title-removed-in-2-4-0-bring/idc-p/1585018#M134</guid>
      <dc:creator>BBarbs</dc:creator>
      <dc:date>2025-02-13T16:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: Get Web Map Layer by title removed in 2.4.0, bring it back!!</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-ideas/get-web-map-layer-by-title-removed-in-2-4-0-bring/idc-p/1597414#M143</link>
      <description>&lt;P&gt;Why would you remove this? Please bring it back&lt;/P&gt;</description>
      <pubDate>Thu, 20 Mar 2025 11:27:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-ideas/get-web-map-layer-by-title-removed-in-2-4-0-bring/idc-p/1597414#M143</guid>
      <dc:creator>RichardHowe</dc:creator>
      <dc:date>2025-03-20T11:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: Get Web Map Layer by title removed in 2.4.0, bring it back!!</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-ideas/get-web-map-layer-by-title-removed-in-2-4-0-bring/idc-p/1630339#M161</link>
      <description>&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for adding your voices to this. At version 2.4.1 of the API we have brought back the `get_layer` and `get_table` methods so you can search by title.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To make layer indexing better as well we added two new methods called: `layer_info` and `table_info`&lt;/P&gt;&lt;P&gt;You can call them like this:&amp;nbsp;&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;m = Map()&lt;/P&gt;&lt;P&gt;m.content.layer_info()&lt;/P&gt;&lt;P&gt;```&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This will return a dataframe of the layers, their index, and some other info.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jul 2025 07:25:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-ideas/get-web-map-layer-by-title-removed-in-2-4-0-bring/idc-p/1630339#M161</guid>
      <dc:creator>NanaeAubry</dc:creator>
      <dc:date>2025-07-04T07:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: Get Web Map Layer by title removed in 2.4.0, bring it back!!</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-ideas/get-web-map-layer-by-title-removed-in-2-4-0-bring/idc-p/1630359#M162</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/600558"&gt;@NanaeAubry&lt;/a&gt;&amp;nbsp;Excellent!&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jul 2025 08:22:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-ideas/get-web-map-layer-by-title-removed-in-2-4-0-bring/idc-p/1630359#M162</guid>
      <dc:creator>RichardHowe</dc:creator>
      <dc:date>2025-07-04T08:22:56Z</dc:date>
    </item>
    <item>
      <title>Re: Get Web Map Layer by title removed in 2.4.0, bring it back!!</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-ideas/get-web-map-layer-by-title-removed-in-2-4-0-bring/idc-p/1660176#M167</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/600558"&gt;@NanaeAubry&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Unfortunately this is not what the get_layer() functionality used to be. This function now returns a FeatureLayer object, which is pretty useless when dealing with WebMaps, instead of the layer definition (Dict/JSON). We can create a FeatureLayer object from the url in the layer definition if needs be. Returning a FeaturLayer object from the get_layer() for a WebMap offers no advantage when you want to get/manipulate/update the layer JSON definition, which is what I expect most workflows would entail.&lt;/P&gt;&lt;P&gt;Maybe another method called get_layer_def() perhaps?&lt;/P&gt;&lt;P&gt;All the best,&lt;/P&gt;&lt;P&gt;Glen&lt;/P&gt;</description>
      <pubDate>Thu, 23 Oct 2025 20:01:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-ideas/get-web-map-layer-by-title-removed-in-2-4-0-bring/idc-p/1660176#M167</guid>
      <dc:creator>Clubdebambos</dc:creator>
      <dc:date>2025-10-23T20:01:15Z</dc:date>
    </item>
  </channel>
</rss>

