<?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: Python API not showing dependent map layers in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/python-api-not-showing-dependent-map-layers/m-p/774140#M855</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its November 27, 2018 and I have found the same in that this Python API for dependent on and upon still does not work with ArcGIS Online but only Enterprise.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Nov 2018 20:53:26 GMT</pubDate>
    <dc:creator>BrianKaplan</dc:creator>
    <dc:date>2018-11-27T20:53:26Z</dc:date>
    <item>
      <title>Python API not showing dependent map layers</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/python-api-not-showing-dependent-map-layers/m-p/774134#M849</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to use the Python API to see the dependent map layers in some of my organization's web maps. &amp;nbsp;I am following the "&lt;A href="https://developers.arcgis.com/python/guide/managing-your-content/#finding-relationships-between-items"&gt;Finding relationships between items&lt;/A&gt;: Relationship between web map items" on the ArcGIS API for Python Guide documentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I made a pretty standard web map with just two layers in it: one feature layer hosted on my organization's AGO account and one map service coming for my organization's stand-alone server that has been registered as at item on the AGO.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used pretty similar variables to the documentation when testing (please see attached image). &amp;nbsp;However, the "dependent.upon()" method does not return any results. &amp;nbsp;According the documentation, it should be returning at least the basemap which is a standard esri basemap and the same one that is returned by the method in the help documentation. Am I missing something?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jul 2017 19:52:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/python-api-not-showing-dependent-map-layers/m-p/774134#M849</guid>
      <dc:creator>OliviaDeSimone</dc:creator>
      <dc:date>2017-07-24T19:52:37Z</dc:date>
    </item>
    <item>
      <title>Re: Python API not showing dependent map layers</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/python-api-not-showing-dependent-map-layers/m-p/774135#M850</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Olivia, this capability (item dependencies) is not yet available on ArcGIS Online. Currently it is available only with an ArcGIS Enterprise.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Jul 2017 21:27:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/python-api-not-showing-dependent-map-layers/m-p/774135#M850</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2017-07-24T21:27:21Z</dc:date>
    </item>
    <item>
      <title>Re: Python API not showing dependent map layers</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/python-api-not-showing-dependent-map-layers/m-p/774136#M851</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The fact that this capability is only available in Enterprise would be very helpful to know. If this is clearly stated in the Dev. Summit videos, the hours spent trouble-shooting why the API is not performing as expected could be avoided. Is there a time frame for integrating item dependency with AGOL?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Jul 2017 03:59:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/python-api-not-showing-dependent-map-layers/m-p/774136#M851</guid>
      <dc:creator>KimHerkewitz</dc:creator>
      <dc:date>2017-07-29T03:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: Python API not showing dependent map layers</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/python-api-not-showing-dependent-map-layers/m-p/774137#M852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Does anyone know if this has changed in the last 6 months?&amp;nbsp; Is&amp;nbsp;support for tracking dependencies in ArcGIS Online&amp;nbsp;on the Python API roadmap?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trying it today on a test web map, with many layers and used in a web mapping app, it results in zero results for dependent_upon and dependent_to, e,g:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;test_wm_id &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"1b943029bfff44ca9128bbf59a3c984n"&lt;/SPAN&gt;
wm_item &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; gis&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;content&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;get&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;test_wm_id&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
wm_item&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;dependent_upon&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Returns:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;{'list': [], 'nextStart': -1, 'num': 0, 'start': 1, 'total': 0}‍&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;wm_item&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;dependent_to&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;Returns
{'list': [], 'nextStart': -1, 'num': 0, 'start': 1, 'total': 0}&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would expect the web map to be dependent on many hosted feature layers and dependent to at least one web mapping application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This capability is present in the GEO-Jobe pro tools... 'must be possible somehow?&lt;BR /&gt;&lt;A class="link-titled" href="https://www.youtube.com/watch?list=PLwtXY4lTNM_vS35NmbXAQXF9fbB2o9lOG&amp;amp;time_continue=71&amp;amp;v=S1CvjZrWn3M" title="https://www.youtube.com/watch?list=PLwtXY4lTNM_vS35NmbXAQXF9fbB2o9lOG&amp;amp;time_continue=71&amp;amp;v=S1CvjZrWn3M" rel="nofollow noopener noreferrer" target="_blank"&gt;Viewing Item Dependencies in Admin Tools for ArcGIS℠ Online - YouTube&lt;/A&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 08:40:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/python-api-not-showing-dependent-map-layers/m-p/774137#M852</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-12-12T08:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: Python API not showing dependent map layers</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/python-api-not-showing-dependent-map-layers/m-p/774138#M853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/people/AMani-esristaff"&gt;AMani-esristaff&lt;/A&gt; Can you provide an update on this capability and when it is expected to be available for ArcGIS Online content?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jan 2018 14:15:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/python-api-not-showing-dependent-map-layers/m-p/774138#M853</guid>
      <dc:creator>HNoakes</dc:creator>
      <dc:date>2018-01-19T14:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: Python API not showing dependent map layers</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/python-api-not-showing-dependent-map-layers/m-p/774139#M854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/people/cwhitmore4"&gt;cwhitmore4&lt;/A&gt;‌ could you respond to this question on item-item dependency?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jan 2018 17:27:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/python-api-not-showing-dependent-map-layers/m-p/774139#M854</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-01-19T17:27:08Z</dc:date>
    </item>
    <item>
      <title>Re: Python API not showing dependent map layers</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/python-api-not-showing-dependent-map-layers/m-p/774140#M855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its November 27, 2018 and I have found the same in that this Python API for dependent on and upon still does not work with ArcGIS Online but only Enterprise.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Nov 2018 20:53:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/python-api-not-showing-dependent-map-layers/m-p/774140#M855</guid>
      <dc:creator>BrianKaplan</dc:creator>
      <dc:date>2018-11-27T20:53:26Z</dc:date>
    </item>
    <item>
      <title>Re: Python API not showing dependent map layers</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/python-api-not-showing-dependent-map-layers/m-p/774141#M856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;9th January 2019 checking in, &lt;A href="https://community.esri.com/migrated-users/45514"&gt;Atma Mani&lt;/A&gt;‌ any updates or etas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the very least, this note in the documentation needs to be changed:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"&lt;STRONG style="color: #6e6e6e; background-color: #ffffff;"&gt;NOTE:&lt;/STRONG&gt;&lt;SPAN style="color: #6e6e6e; background-color: #ffffff;"&gt;&amp;nbsp;The Relationship Type functionality is currently evolving within Enterprise and ArcGIS Online implementations. Some items do not currently return all relationships they have between other items."&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #6e6e6e; background-color: #ffffff;"&gt;If the functionality isn't there yet, any reference to AGOL should be removed, it might save a bunch of people time and effort.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jan 2019 23:32:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/python-api-not-showing-dependent-map-layers/m-p/774141#M856</guid>
      <dc:creator>Richard_Stokes</dc:creator>
      <dc:date>2019-01-08T23:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: Python API not showing dependent map layers</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/python-api-not-showing-dependent-map-layers/m-p/774142#M857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Richard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Getting dependencies on Web Maps is still not supported i think in ArcGIS Online.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead, i tried using the Item data of a ArcGIS online item and I was able to get the dependent layer details.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thought might be useful to others.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;from&lt;/SPAN&gt; arcgis &lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; gis
&lt;SPAN class="keyword token"&gt;from&lt;/SPAN&gt; json &lt;SPAN class="keyword token"&gt;import&lt;/SPAN&gt; loads


&lt;SPAN class="keyword token"&gt;def&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;get_map_item_dependencies&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;source_portal&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; item&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; folder&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; user&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
    &lt;SPAN class="comment token"&gt;# We are using this script only for 'Web Map' , as this is the problem item for ArcGIS Online&lt;/SPAN&gt;
    &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; item&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;type &lt;SPAN class="operator token"&gt;==&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'Web Map'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
        &lt;SPAN class="comment token"&gt;# Get the item's data in JSON format&lt;/SPAN&gt;
        item_data &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; item&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;get_data&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="token boolean"&gt;False&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
        data &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; dict&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;loads&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;item_data&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
        &lt;SPAN class="comment token"&gt;# Just go through the Operational Layers, as they are mainly the dependent items&lt;/SPAN&gt;
        &lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; layer_item &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; data&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'operationalLayers'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
            layer_itemInfo &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; source_portal&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;content&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;get&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;layer_item&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'itemId'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'itemId'&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; layer_item &lt;SPAN class="keyword token"&gt;else&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;''&lt;/SPAN&gt;
            &lt;SPAN class="keyword token"&gt;print&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"; "&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;join&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;item&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;title&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
                             user&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;fullName&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
                             folder&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
                             item&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;itemid&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
                             item&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;type&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
                             layer_item&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'title'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
                             layer_itemInfo&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;owner &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; layer_itemInfo &lt;SPAN class="operator token"&gt;and&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'owner'&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; layer_itemInfo &lt;SPAN class="keyword token"&gt;else&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;''&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
                             layer_item&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'layerType'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
                             layer_item&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'itemId'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'itemId'&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; layer_item &lt;SPAN class="keyword token"&gt;else&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;''&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
                             layer_item&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'url'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'url'&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; layer_item &lt;SPAN class="keyword token"&gt;else&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;''&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;+&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'\n'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;


&lt;SPAN class="keyword token"&gt;def&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;main&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
    source &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; gis&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;GIS&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"https://arcgis.maps.arcgis.com"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; username&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;''&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; password&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;''&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
    &lt;SPAN class="comment token"&gt;# Get the user and their items&lt;/SPAN&gt;
    userName &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;''&lt;/SPAN&gt;
    user &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; source&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;users&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;get&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;userName&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
    user_content &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; user&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;items&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;max_items&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;1000&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;

    &lt;SPAN class="comment token"&gt;# Get item ids from root folder first&lt;/SPAN&gt;
    &lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; item &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; user_content&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
        get_map_item_dependencies&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;source&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; item&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'Root Folder'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; user&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;

    &lt;SPAN class="comment token"&gt;# Get item ids from each of the folders next&lt;/SPAN&gt;
    folders &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; user&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;folders
    &lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; folder &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; folders&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
        folder_items &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; user&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;items&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;folder&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;folder&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'title'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
        &lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt; item &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; folder_items&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;
            get_map_item_dependencies&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;source&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; item&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; folder&lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'title'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; user&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 08:40:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/python-api-not-showing-dependent-map-layers/m-p/774142#M857</guid>
      <dc:creator>deleted-user-Ey5hWtkij2kJ</dc:creator>
      <dc:date>2021-12-12T08:40:36Z</dc:date>
    </item>
    <item>
      <title>Re: Python API not showing dependent map layers</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/python-api-not-showing-dependent-map-layers/m-p/774143#M858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As of version 1.8.2 of the ArcGIS Python API, this is not available:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/python/api-reference/arcgis.gis.toc.html?highlight=shared_with#arcgis.gis.Item.dependent_upon" title="https://developers.arcgis.com/python/api-reference/arcgis.gis.toc.html?highlight=shared_with#arcgis.gis.Item.dependent_upon"&gt;arcgis.gis module — arcgis 1.8.2 documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/506151_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Sep 2020 20:20:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/python-api-not-showing-dependent-map-layers/m-p/774143#M858</guid>
      <dc:creator>AndresCastillo</dc:creator>
      <dc:date>2020-09-01T20:20:54Z</dc:date>
    </item>
    <item>
      <title>Re: Python API not showing dependent map layers</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/python-api-not-showing-dependent-map-layers/m-p/1000884#M5196</link>
      <description>&lt;P&gt;For ESRI: When do you plan to have this implemented for AGOL?&lt;/P&gt;</description>
      <pubDate>Thu, 12 Nov 2020 21:04:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/python-api-not-showing-dependent-map-layers/m-p/1000884#M5196</guid>
      <dc:creator>SolanaFoo2</dc:creator>
      <dc:date>2020-11-12T21:04:23Z</dc:date>
    </item>
    <item>
      <title>Re: Python API not showing dependent map layers</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/python-api-not-showing-dependent-map-layers/m-p/1062187#M6129</link>
      <description>&lt;P&gt;So this capability is still not available for AGOL?&lt;/P&gt;</description>
      <pubDate>Thu, 27 May 2021 06:59:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/python-api-not-showing-dependent-map-layers/m-p/1062187#M6129</guid>
      <dc:creator>GISCleanteq</dc:creator>
      <dc:date>2021-05-27T06:59:08Z</dc:date>
    </item>
    <item>
      <title>Re: Python API not showing dependent map layers</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/python-api-not-showing-dependent-map-layers/m-p/1064769#M6170</link>
      <description>&lt;P&gt;Hi! Are there any news about this topic?&lt;/P&gt;&lt;P&gt;The latest version of arcgis api 1.8.5 still does not offer this capability and it would be very useful to have it (still waiting since 2017)!&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jun 2021 17:31:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/python-api-not-showing-dependent-map-layers/m-p/1064769#M6170</guid>
      <dc:creator>Roxana_ElenaUrdea</dc:creator>
      <dc:date>2021-06-03T17:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: Python API not showing dependent map layers</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/python-api-not-showing-dependent-map-layers/m-p/1081212#M6380</link>
      <description>&lt;P&gt;Yep this is a joke waiting for 5 years for this update.&lt;BR /&gt;I guess its an ESRI business decision to not assist users managing AGOL data as the more data online, the more credits used and the more money made.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Jul 2021 09:33:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/python-api-not-showing-dependent-map-layers/m-p/1081212#M6380</guid>
      <dc:creator>Heath2</dc:creator>
      <dc:date>2021-07-21T09:33:35Z</dc:date>
    </item>
    <item>
      <title>Re: Python API not showing dependent map layers</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/python-api-not-showing-dependent-map-layers/m-p/1106484#M6726</link>
      <description>&lt;P&gt;I am also waiting for an answer from ESRI!&lt;/P&gt;&lt;P&gt;When are you going to enable this capability for AGOL?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Oct 2021 17:13:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/python-api-not-showing-dependent-map-layers/m-p/1106484#M6726</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2021-10-11T17:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: Python API not showing dependent map layers</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/python-api-not-showing-dependent-map-layers/m-p/1335662#M9116</link>
      <description>&lt;P&gt;Now going on 7 years.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Oct 2023 03:04:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/python-api-not-showing-dependent-map-layers/m-p/1335662#M9116</guid>
      <dc:creator>SimonWebster</dc:creator>
      <dc:date>2023-10-06T03:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: Python API not showing dependent map layers</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/python-api-not-showing-dependent-map-layers/m-p/1364877#M9466</link>
      <description>&lt;P&gt;Please add this capability; it would be very useful. Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 28 Dec 2023 21:39:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/python-api-not-showing-dependent-map-layers/m-p/1364877#M9466</guid>
      <dc:creator>Josh-R</dc:creator>
      <dc:date>2023-12-28T21:39:36Z</dc:date>
    </item>
  </channel>
</rss>

