<?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: Is there a limit to the number of items returned when searching through content on ArcGIS Online or Portal when querying with ArcGIS API for Python? in ArcGIS API for Python Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-python-questions/is-there-a-limit-to-the-number-of-items-returned/m-p/862254#M4231</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to search in specific folder. or how to retrieve all feature services folder wise?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Feb 2018 06:32:07 GMT</pubDate>
    <dc:creator>SanjaykumarRajbhar</dc:creator>
    <dc:date>2018-02-09T06:32:07Z</dc:date>
    <item>
      <title>Is there a limit to the number of items returned when searching through content on ArcGIS Online or Portal when querying with ArcGIS API for Python?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/is-there-a-limit-to-the-number-of-items-returned/m-p/862251#M4228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There seems to be a limit of 10 items when querying items on AGO. I would like to return all items in an organization. Here is the code I was using:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from arcgis.gis import GIS&lt;BR /&gt;&lt;SPAN&gt;gis = GIS("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Forganization.maps.arcgis.com" rel="nofollow" target="_blank"&gt;https://organization.maps.arcgis.com&lt;/A&gt;&lt;SPAN&gt;", "username", "password")&lt;/SPAN&gt;&lt;BR /&gt;gis.content.search(query="")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for any assistance you may provide. Thank you for everything and have a delightful day.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sincerely,&lt;/P&gt;&lt;P&gt;Joe Guzi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Feb 2018 21:55:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/is-there-a-limit-to-the-number-of-items-returned/m-p/862251#M4228</guid>
      <dc:creator>deleted-user-8KkqhMYcTNGx</dc:creator>
      <dc:date>2018-02-04T21:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a limit to the number of items returned when searching through content on ArcGIS Online or Portal when querying with ArcGIS API for Python?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/is-there-a-limit-to-the-number-of-items-returned/m-p/862252#M4229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey &lt;A href="https://community.esri.com/migrated-users/21133"&gt;Joe&lt;/A&gt;&amp;nbsp;- The API reference for the content&amp;nbsp;&lt;A href="https://esri.github.io/arcgis-python-api/apidoc/html/arcgis.gis.toc.html#arcgis.gis.ContentManager.search"&gt;here&lt;/A&gt;&amp;nbsp;defines the max_items parameter that provides control to the number of results returned.&amp;nbsp; By default, the max_items parameter returns 10 items. You can set that parameter to a desired number:&lt;/P&gt;&lt;PRE class="language-python line-numbers"&gt;&lt;CODE&gt;search_results &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; a_gis&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;content&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;search&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;query&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; max_items&lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;50&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;I don't believe there is a limit to the number you can enter for that parameter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 04 Feb 2018 22:26:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/is-there-a-limit-to-the-number-of-items-returned/m-p/862252#M4229</guid>
      <dc:creator>JohnYaist1</dc:creator>
      <dc:date>2018-02-04T22:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a limit to the number of items returned when searching through content on ArcGIS Online or Portal when querying with ArcGIS API for Python?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/is-there-a-limit-to-the-number-of-items-returned/m-p/862253#M4230</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/jyaist-esristaff"&gt;jyaist-esristaff&lt;/A&gt;‌ Thank you so much. The documentation you referenced was way more useful than the documentation I was looking at. This was the nudge I needed. Thanks again!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Feb 2018 00:39:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/is-there-a-limit-to-the-number-of-items-returned/m-p/862253#M4230</guid>
      <dc:creator>deleted-user-8KkqhMYcTNGx</dc:creator>
      <dc:date>2018-02-05T00:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a limit to the number of items returned when searching through content on ArcGIS Online or Portal when querying with ArcGIS API for Python?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-python-questions/is-there-a-limit-to-the-number-of-items-returned/m-p/862254#M4231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How to search in specific folder. or how to retrieve all feature services folder wise?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Feb 2018 06:32:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-python-questions/is-there-a-limit-to-the-number-of-items-returned/m-p/862254#M4231</guid>
      <dc:creator>SanjaykumarRajbhar</dc:creator>
      <dc:date>2018-02-09T06:32:07Z</dc:date>
    </item>
  </channel>
</rss>

