web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / .loadNextPage() no lon...
Power Apps
Unanswered

.loadNextPage() no longer cumulative?

(0) ShareShare
ReportReport
Posted on by 482

Has .loadNextPage() been changed so it's no longer cumulative?

Why the change?

I have the same question (0)
  • cchannon Profile Picture
    4,702 Moderator on at

    What do you mean by cumulative? I have noticed no changes in the behavior; it gives you the next page, according to your pagination value (which you can control with setPageSize), just as it always has.

  • Diana Birkelbach Profile Picture
    3,072 Most Valuable Professional on at

    Hi @skoofy5 , 

     

    I cannot tell, since I've only used loadExactPage. That way I could have the same behaviour in both model-driven and canvas apps, but @ScottDurow has a blog about loadNextPage and these differences: https://develop1.net/public/post/2020/05/07/pcf-dataset-paging-in-mode-vs-canvas-apps

     

    I'm actually happy if this changed, since this alignes both model-driven and canvas apps (+custom pages), but I can understand that this creates trouble if you are using this in production.

     

    If you need the cumulative approach, maybe you can use a workaround: instead of loadNextPage you could set the pageSize to the cumulative size (so increaze the page-size each time) and call dataset.refresh().

     

    Maybe @HemantG can tell us of this change is intended and should stay like this.

     

    Hope this helps!

     

  • skoofy5 Profile Picture
    482 on at

    Thanks for the responses. As Diana has pointed out it definitely used to be cumulative. I think when I started I used it only because I couldn't see documentation for loadExactPage (which, I believe is still not documented here - https://docs.microsoft.com/en-us/powerapps/developer/component-framework/reference/paging).

     

    I'm just trying to figure out how such changes come through without any warning. It didn't cause huge problems fortunately, but I'd rather know if changes to methods are coming.

  • Diana Birkelbach Profile Picture
    3,072 Most Valuable Professional on at

    Hi @skoofy5 , 

     

    you are right, the loadExactPage is still not documented there, but there are examples in the sdk where it is used, so I wouldn't worry that much. Have a look yourself: https://docs.microsoft.com/en-us/powerapps/developer/component-framework/tutorial-create-canvas-dataset-component?WT.mc_id=BA-MVP-5004107#adding-paging-to-the-grid

     

    Hope this helps!

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.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
Kalathiya Profile Picture

Kalathiya 445

#2
WarrenBelz Profile Picture

WarrenBelz 386 Most Valuable Professional

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 321 Super User 2025 Season 2

Last 30 days Overall leaderboard