Basically I have a QueryExpression that returns over 3000 results. I only need to use between 50 and 200 of these. If I was using normal sql I could use SELECT TOP 200..... Is there a way to do this in CRM using the QueryExpression or FetchXML?
相关问题
- Dynamics CRM 365 - Cannot access Xrm.Page.entity i
- crm 2011 creating a view of merged contacts
- CRMAF Filtering in CRM 2011
- How to create and delete data from entity relation
- Crm dynamics custom action after clicking Invoice
相关文章
- Using Xrm.WebApi method in Web Resource opened in
- Authenticating with on-premise (IFD) CRM using NTL
- How to list all CRM fields which are dirty in cons
- How to get 'ownerid' column from CRM datab
- Call javascript function from another javascript w
- How to Get a Dynamics 365CE Personal Development E
- CRM do not support direct update of Entity Referen
- Microsoft Dynamics 365 SDK Core Assemblies .NET Co
@Matt basically said everything right. This article expands on his answer.
What you essentially want to do is use PageInfo prop of QueryExpression. That way you can limit the results, or, even better fetch more than 5000 rows (default limit). PageInfo is used as a paging indicator. How many rows does a page have, how many pages and most important, PagingCookie used for recursive read of more data (more than 5k rows) https://msdn.microsoft.com/en-us/library/mt269606.aspx
In a QueryExpression:
In Fetch XML: