Looking for the MS spec for OneNote 365 version

nicholas dipiazza 26 Reputation points
2021-06-15T12:52:21.16+00:00

I am an Apache Tika committer (https://github.com/apache/tika)

and I am working on OneNote 365 parsing. In particular, .one files.

I have already written parsers for 2013 and 2016 versions of OneNote.

I am trying to see if my existing code works for parsing OneNote 365 (one note files generated from SharePoint Online). But it does not at this time.

I opened up the MS-ONE and MS-ONESTORE specifications and am trying to figure out if I can get this to work.

As far as I can tell, the specification does not apply to the OneNote 365 version documents.

I am looking at the header, and comparing with the MS-ONESTORE specification.

Here are the first 3
guidFileType - 16 bytes
{7B5C52E4-D88C-4DA7-AEB1-5378D02996D3}

guidFile - 16 bytes
{D276BC67-FD7F-4D5C-65CB-9DDBA52A90D1}

guidLegacyFileVersion - 16 bytes
{D276BC67-FD7F-4D5C-65CB-9DDBA52A90D1}

The guidFileType is correct. The spec says this GUID matches the .one file which is correct.

The guidFile is supposed to be a random GUID. No way to know if this is correct or not. so we move on.

But then there is guidLegacyFileVersion.

The spec says: MUST be "{00000000-0000-0000-0000-000000000000}" and
MUST be ignored.

But in the OneNote 365 version has the exact same GUID in that position as the guidFile field.

Is there a specification specifically for this version of OneNote?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,651 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Emi Zhang-MSFT 22,011 Reputation points Microsoft Vendor
    2021-06-16T05:53:13.03+00:00

    Hi,
    Your problem is more related to OneNote for Developer, there is not develop forum, I try to provide the document about your question:
    https://learn.microsoft.com/en-us/openspecs/office_file_formats/ms-onestore/ba2ccfe9-f8d9-4a32-ad9c-3b0b6e1037d6
    Just checking in to see if the information was helpful.


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments