<?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 FindItemsAsync seems to only return 10 items in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/finditemsasync-seems-to-only-return-10-items/m-p/235605#M2802</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am doing a very simple query to get all the items of specific PortalItemType (Feature Services) from a group&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;PortalQueryParameters groupParameters &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; PortalQueryParameters&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;CreateForItemsOfTypeInGroup&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;itemType&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; portalGroup&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;GroupId&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

PortalQueryResultSet&lt;SPAN class="operator token"&gt;&amp;lt;&lt;/SPAN&gt;PortalItem&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt; queryResultSet &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;await&lt;/SPAN&gt; portalGroup&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Portal&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;FindItemsAsync&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;groupParameters&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;The problem is it is only returning 10 items in the group when there are far more. &amp;nbsp;I don't see anything in the documentation that would indicate a maximum number of returned items, and if there is how you get the next set. &amp;nbsp;If I add a query string (in this case tag)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;PortalQueryParameters groupParameters = PortalQueryParameters.CreateForItemsOfTypeInGroup(itemType, portalGroup.GroupId, "Download");

PortalQueryResultSet&amp;lt;PortalItem&amp;gt; queryResultSet = await portalGroup.Portal.FindItemsAsync(groupParameters);‍‍‍&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;Items that are not included in the first query are returned, so I know they are there in the group (well I can see them in Portal, so I know they are there).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is going on? &amp;nbsp;Obviously only returning a subset of the items in the group is not acceptable when I need to get them all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;-Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 11:53:06 GMT</pubDate>
    <dc:creator>JoeHershman</dc:creator>
    <dc:date>2021-12-11T11:53:06Z</dc:date>
    <item>
      <title>FindItemsAsync seems to only return 10 items</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/finditemsasync-seems-to-only-return-10-items/m-p/235605#M2802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am doing a very simple query to get all the items of specific PortalItemType (Feature Services) from a group&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;PortalQueryParameters groupParameters &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; PortalQueryParameters&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;CreateForItemsOfTypeInGroup&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;itemType&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; portalGroup&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;GroupId&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

PortalQueryResultSet&lt;SPAN class="operator token"&gt;&amp;lt;&lt;/SPAN&gt;PortalItem&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt; queryResultSet &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;await&lt;/SPAN&gt; portalGroup&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Portal&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;FindItemsAsync&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;groupParameters&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;The problem is it is only returning 10 items in the group when there are far more. &amp;nbsp;I don't see anything in the documentation that would indicate a maximum number of returned items, and if there is how you get the next set. &amp;nbsp;If I add a query string (in this case tag)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;PortalQueryParameters groupParameters = PortalQueryParameters.CreateForItemsOfTypeInGroup(itemType, portalGroup.GroupId, "Download");

PortalQueryResultSet&amp;lt;PortalItem&amp;gt; queryResultSet = await portalGroup.Portal.FindItemsAsync(groupParameters);‍‍‍&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;Items that are not included in the first query are returned, so I know they are there in the group (well I can see them in Portal, so I know they are there).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is going on? &amp;nbsp;Obviously only returning a subset of the items in the group is not acceptable when I need to get them all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;-Joe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 11:53:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/finditemsasync-seems-to-only-return-10-items/m-p/235605#M2802</guid>
      <dc:creator>JoeHershman</dc:creator>
      <dc:date>2021-12-11T11:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: FindItemsAsync seems to only return 10 items</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/finditemsasync-seems-to-only-return-10-items/m-p/235606#M2803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There is limit property on QueryParameters I did not notice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/net/latest/wpf/api-reference//html/P_Esri_ArcGISRuntime_Portal_PortalQueryParameters_Limit.htm" title="https://developers.arcgis.com/net/latest/wpf/api-reference//html/P_Esri_ArcGISRuntime_Portal_PortalQueryParameters_Limit.htm"&gt;PortalQueryParameters.Limit Property&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Aug 2017 20:30:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/finditemsasync-seems-to-only-return-10-items/m-p/235606#M2803</guid>
      <dc:creator>JoeHershman</dc:creator>
      <dc:date>2017-08-22T20:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: FindItemsAsync seems to only return 10 items</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/finditemsasync-seems-to-only-return-10-items/m-p/235607#M2804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yup. The default is 10, and you can set it all the way up to 100&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Aug 2017 18:22:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/finditemsasync-seems-to-only-return-10-items/m-p/235607#M2804</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2017-08-23T18:22:08Z</dc:date>
    </item>
  </channel>
</rss>

