<?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 Why is there no &amp;quot;layers&amp;quot; key? in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/why-is-there-no-quot-layers-quot-key/m-p/815593#M2659</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;This is the Json that is returned for an ArcGiS MapServiceLayer within a web map.
It's the output of "print(lyr)" where "lyr" is an operational layer within a web map.
This layer has many layers - Group Layers and Feature Layers in it, but the JSON has no record of them. 
Does anyone know why the JSON is not providing this information? I would like to go through web maps and list all
Operational Layers and, for map services, the groups and sublayers.

ArcGISMapServiceLayer: *** {   "id": "***",   "layerType": "ArcGISMapServiceLayer",   "url": "***",   "visibility": true,   "opacity": 1,   "title": "Rocker Operable Unit",   "itemId": "***"&lt;/PRE&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Randy McGregor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 09:38:06 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2021-12-12T09:38:06Z</dc:date>
    <item>
      <title>Why is there no "layers" key?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/why-is-there-no-quot-layers-quot-key/m-p/815593#M2659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;This is the Json that is returned for an ArcGiS MapServiceLayer within a web map.
It's the output of "print(lyr)" where "lyr" is an operational layer within a web map.
This layer has many layers - Group Layers and Feature Layers in it, but the JSON has no record of them. 
Does anyone know why the JSON is not providing this information? I would like to go through web maps and list all
Operational Layers and, for map services, the groups and sublayers.

ArcGISMapServiceLayer: *** {   "id": "***",   "layerType": "ArcGISMapServiceLayer",   "url": "***",   "visibility": true,   "opacity": 1,   "title": "Rocker Operable Unit",   "itemId": "***"&lt;/PRE&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Randy McGregor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 09:38:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/why-is-there-no-quot-layers-quot-key/m-p/815593#M2659</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-12-12T09:38:06Z</dc:date>
    </item>
  </channel>
</rss>

