I have been unable to find documentation on the maximum number of rows that the SharePoint Get Item action will return. It is my understanding that, by default, there is a limit of 100 rows but that can be changed in the settings configuration screen for the action.
So , I have two questions:
Is there a limit to the number of rows that Get Items will return?
Is the default 100 rows?
Scott
Solved! Go to Solution.
Hi @ScottShearer,
Per my test, Get items will return only 100 items if you left the Top count field blank, though you have 1000 items and it says Total number of entries to retrieve (default = all).
While if you want to get all items without specifying a limit, please configure the card by clicking ellipsis then Settings. At there, turn on the Pagination, this will automatically follow the next link. For additional protection, you can provide a limit.
I have seen a request on Flow Ideas Forum about this issue, please check it, you could vote the idea at here:
Besides, about the limitation, I haven’t seen a documentation on it. However, looping and debatching limits for Flow is 5000, I assume that the limit to the number of rows that Get items will return will also be 5000. Please check more details at here:
https://docs.microsoft.com/en-us/flow/limits-and-config
Best regards,
Mabel Mao
Hi @ScottShearer,
Per my test, Get items will return only 100 items if you left the Top count field blank, though you have 1000 items and it says Total number of entries to retrieve (default = all).
While if you want to get all items without specifying a limit, please configure the card by clicking ellipsis then Settings. At there, turn on the Pagination, this will automatically follow the next link. For additional protection, you can provide a limit.
I have seen a request on Flow Ideas Forum about this issue, please check it, you could vote the idea at here:
Besides, about the limitation, I haven’t seen a documentation on it. However, looping and debatching limits for Flow is 5000, I assume that the limit to the number of rows that Get items will return will also be 5000. Please check more details at here:
https://docs.microsoft.com/en-us/flow/limits-and-config
Best regards,
Mabel Mao
The native CDS connector does not support LogicApps/Flow built in paging. As a work around you can do something similar to the following:
where the first "decodeUriComponent" function is :
@{decodeUriComponent(replace(uriQuery(coalesce(outputs('List_records_1st_Page')?['body']?['@odata.nextLink'], 'https://fakeurl.com?$skiptoken=')), '?$skiptoken=', ''))}
and the second is:
@{decodeUriComponent(replace(uriQuery(coalesce(outputs('List_records_next_page')?['body']?['@odata.nextLink'], 'https://fakeurl.com?$skiptoken=')), '?$skiptoken=', ''))}
Manual implementation of paging for CDS List Records
User | Count |
---|---|
26 | |
13 | |
12 | |
9 | |
8 |
User | Count |
---|---|
49 | |
29 | |
23 | |
20 | |
20 |