<?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: Access items according to content folder | AGOL | Python API in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/access-items-according-to-content-folder-agol/m-p/834905#M3294</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is the way I have done it in the past. Frist, the User object has a folders property that returns a list of folder names. See&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/python/api-reference/arcgis.gis.toc.html#arcgis.gis.User.folders" title="https://developers.arcgis.com/python/api-reference/arcgis.gis.toc.html#arcgis.gis.User.folders"&gt;arcgis.gis module — arcgis 1.8.0 documentation&lt;/A&gt;. From there you can verify that the folder you are looking for is, in fact, an actual folder in the user's account. Once you get the folder name you can call the user.items() method. This method has a folder parameter. See&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/python/api-reference/arcgis.gis.toc.html#arcgis.gis.User.items" title="https://developers.arcgis.com/python/api-reference/arcgis.gis.toc.html#arcgis.gis.User.items"&gt;arcgis.gis module — arcgis 1.8.0 documentation&lt;/A&gt;. The first step is not necessary but its a starting point. Good luck!&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 May 2020 15:13:19 GMT</pubDate>
    <dc:creator>AustinDoezema</dc:creator>
    <dc:date>2020-05-07T15:13:19Z</dc:date>
    <item>
      <title>Access items according to content folder | AGOL | Python API</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/access-items-according-to-content-folder-agol/m-p/834904#M3293</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using the API for Python in ArcGIS, is there a way to retrieve items based on content folder name?&lt;/P&gt;&lt;P&gt;I can get group items but I want to get items based on content folders in AGOL.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2020 14:29:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/access-items-according-to-content-folder-agol/m-p/834904#M3293</guid>
      <dc:creator>AprilSummers</dc:creator>
      <dc:date>2020-04-21T14:29:16Z</dc:date>
    </item>
    <item>
      <title>Re: Access items according to content folder | AGOL | Python API</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/access-items-according-to-content-folder-agol/m-p/834905#M3294</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is the way I have done it in the past. Frist, the User object has a folders property that returns a list of folder names. See&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/python/api-reference/arcgis.gis.toc.html#arcgis.gis.User.folders" title="https://developers.arcgis.com/python/api-reference/arcgis.gis.toc.html#arcgis.gis.User.folders"&gt;arcgis.gis module — arcgis 1.8.0 documentation&lt;/A&gt;. From there you can verify that the folder you are looking for is, in fact, an actual folder in the user's account. Once you get the folder name you can call the user.items() method. This method has a folder parameter. See&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/python/api-reference/arcgis.gis.toc.html#arcgis.gis.User.items" title="https://developers.arcgis.com/python/api-reference/arcgis.gis.toc.html#arcgis.gis.User.items"&gt;arcgis.gis module — arcgis 1.8.0 documentation&lt;/A&gt;. The first step is not necessary but its a starting point. Good luck!&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2020 15:13:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/access-items-according-to-content-folder-agol/m-p/834905#M3294</guid>
      <dc:creator>AustinDoezema</dc:creator>
      <dc:date>2020-05-07T15:13:19Z</dc:date>
    </item>
  </channel>
</rss>

