<?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 Not Able to Get Portal Items Dependent To specific Item in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/not-able-to-get-portal-items-dependent-to-specific/m-p/1370286#M9529</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a Feature Service Item on Portal with Item ID =&amp;nbsp;wedr22sdb7242378c833730c9sss2sauf&lt;/P&gt;&lt;P&gt;now I need to find out all Maps, Views, Apps and ... which are using this (or are dependent to this item) item&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;item = gis.content.get('wedr22sdb7242378c833730c9sss2sauf')

dependent_items = item.dependent_to()
for dependent_item in dependent_items:
    print(dependent_item)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but I am getting this error message, in retune&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;AttributeError&lt;/SPAN&gt;&lt;SPAN class=""&gt;: 'NoneType' object has no attribute 'dependent_to'&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Can you please let me know what I am missing or doing wrong?&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 15 Jan 2024 20:55:29 GMT</pubDate>
    <dc:creator>BHK</dc:creator>
    <dc:date>2024-01-15T20:55:29Z</dc:date>
    <item>
      <title>Not Able to Get Portal Items Dependent To specific Item</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/not-able-to-get-portal-items-dependent-to-specific/m-p/1370286#M9529</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a Feature Service Item on Portal with Item ID =&amp;nbsp;wedr22sdb7242378c833730c9sss2sauf&lt;/P&gt;&lt;P&gt;now I need to find out all Maps, Views, Apps and ... which are using this (or are dependent to this item) item&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;item = gis.content.get('wedr22sdb7242378c833730c9sss2sauf')

dependent_items = item.dependent_to()
for dependent_item in dependent_items:
    print(dependent_item)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but I am getting this error message, in retune&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class=""&gt;AttributeError&lt;/SPAN&gt;&lt;SPAN class=""&gt;: 'NoneType' object has no attribute 'dependent_to'&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Can you please let me know what I am missing or doing wrong?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jan 2024 20:55:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/not-able-to-get-portal-items-dependent-to-specific/m-p/1370286#M9529</guid>
      <dc:creator>BHK</dc:creator>
      <dc:date>2024-01-15T20:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: Not Able to Get Portal Items Dependent To specific Item</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/not-able-to-get-portal-items-dependent-to-specific/m-p/1370293#M9530</link>
      <description>&lt;P&gt;This maybe completly obvious but that item variable has a value right? The error messages seems to point at the item being Nothing??&amp;nbsp; &amp;nbsp;Also this is for Enterprise not AGOL?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;dependent_to&lt;SPAN class=""&gt;(&lt;/SPAN&gt;&lt;SPAN class=""&gt;)&lt;/SPAN&gt;&lt;A title="Permalink to this definition" href="https://developers.arcgis.com/python/api-reference/arcgis.gis.toc.html#arcgis.gis.Item.dependent_to" target="_blank" rel="noopener"&gt;¶&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;dependent_to&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;method returns items, urls, etc that are dependent to this item.&lt;/P&gt;&lt;DIV class=""&gt;&lt;P class=""&gt;NOTE&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;This method only available for items in an ArcGIS Enterprise organization.&lt;/STRONG&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jan 2024 22:04:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/not-able-to-get-portal-items-dependent-to-specific/m-p/1370293#M9530</guid>
      <dc:creator>Dan_Brumm</dc:creator>
      <dc:date>2024-01-15T22:04:51Z</dc:date>
    </item>
  </channel>
</rss>

