cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Helper II
Helper II

OneNote GetPagesinSection ComboBox only Displaying 20 Results

I am currently using PowerApps to attempt to look at a team notebook we use for resources. The combobox I have set to:

 

Sort('OneNote(Business)'.GetPagesInSection(Dropdown1.Selected.Key,ComboBox2.Selected.pagesUrl).value,title,Ascending)

 

Is only giving me 20 results for the pages in the section. My combobox to list the sections gives me well over 20 results, but the pages in the section, seem to be limited to 20? Any ideas?

1 REPLY 1
Community Support
Community Support

Hi @soylaunica ,

Do you mean that 'OneNote(Business)'.GetPagesInSection function could only get  20 results?

The reason why you met this problem is that:
By default, only the top 20 entries are returned for GET pages requests.

 

Requests that don't specify a top query string option return an @odata.nextLink link in the response that you can use to get the next 20 entries.

You need to create a Graph API service to get other entries.

Here's a similar issue for your reference:

https://powerusers.microsoft.com/t5/Building-Flows/OneNote-GetPagesInSection-returns-only-20-results...

 

 

Best regards,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

New Power Super Users

Congratulations!

We are excited to announce the Power Apps Super Users!

Power Apps Community Call

Power Apps Community Call: February

Did you miss the call? Check out the Power Apps Community Call here.

Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

Users online (29,646)