Notifications
Announcements
No record found.
Hi, by default, Fetchxml gets 5000 results, what if the result is after 5000, I have to call multiple times?
*This post is locked for comments
Hi
You would have to use paging cookie.
Please refer the following:
https://msdn.microsoft.com/en-us/library/gg328046.aspx
The link doesn't work
Hi,
You can check for Morerecords property from the resultset of Entity collection and use pagingCookie. Below link shows the example.
stackoverflow.com/.../how-to-fetch-more-than-5000-entities-from-crm
Hope this helps.
If you download XRMToolBox and download the Record Counter plugin :)
msdn.microsoft.com/.../gg328046.aspx
What is your exact requirement?
If you have to fetch more than 5k records then you can use either paging concept or update system settings to fetch more record.
The below link will help you to understand better.
www.softchief.com/.../retrieve-more-than-5000-records-in-dynamics-crm
I can use linq to retrieve all records?
You can use a paging cookie with Fetch (that link Gopalan provided seems to work fine.. at least today)
You can use Linq, just keep in mind it'll work slightly differently - I believe it will try to grab all records at once, so this may take a while if you have too many. Also, it will be retrieving all entity attributes (unlike fetch where you can specify which exactly)
yes, I understand, I have to use earlybound
You can do it with latebound (if we are talking about linq), just need to follow a workaround descrbied here:
community.dynamics.com/.../querying-crm-data-with-linq
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
SA-08121319-0 4
Calum MacFarlane 4
Alex Fun Wei Jie 2