In
MS CRM 2016 on-premises and online, fetchXML came up with a new attribute called “page”. Using this attribute we can set which page results we want.
<fetch mapping="logical" page="1" count="2">
<fetch mapping="logical" page="1" count="2">
 <entity name="account">
  <attribute name="accountid" />
  <attribute name="name" />
  <order attribute="name" />
 </entity>
</fetch>
Above
query set query for accounts and limit the number of entities to 2 and return
just the first page.
You may like below posts
 
 
 
 
No comments:
Post a Comment