Wrong ordering on add images to OneNote page from pdf content

Maisa Rissi 76 Reputation points Microsoft Employee
2022-08-18T13:48:58.77+00:00

This was primarily asked in the Microsoft Graph .NET SDK repo:

When i add a PDF to a OneNote page as a multipart request it seems like the ordering of the pages are sorted alphabetically instead of lexical order. The pages in the PDF are numbered (1-22) but when the page has been updated with the content from the PDF, the order of the images are 1, 10, 11, 12..2, 20, 21, 22)

How can i prevent or control this behaviour?

I am updating this page as recommended in the documentation: https://learn.microsoft.com/en-us/graph/onenote-images-files#add-images-of-pdf-file-contents.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,114 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Maisa Rissi 76 Reputation points Microsoft Employee
    2022-08-18T15:10:23.673+00:00

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.