Pagination using Query Expression in D365

Hello Guys,

In my previous post i have explained how we can retrieve data from Dynamics CRM through Query Expression. Today we will see how we can implement pagination using query expression.But before if you are new to our blog then do follow us to know more about Dynamics and Power Platform. Also if you like our blog then please comment and share this blog with your friends.

Consider a scenario where we are having large set of data in a single entity and we want to retrieve this data in C# client using query expression. Now while working with query expression there is one limitation that you can retrieve maximum 5000 request in single execution.

So if we are having entity which is containing more then 5000 records then we need to implement pagination using Query Expression.

In the below example we are fetching opportunities records using pagination.



Hope it helps...

Comments

Post a Comment

Popular posts from this blog

Read Only Sub Grid & Editable Sub grid in Dynamics 365

Understanding Sales Process in D365.

Understanding Business Unit in Dynamics 365.