Others

Nested Section Groups in OneNote for the Web and the JavaScript API

Chanuka GeekiyanageChanuka Geekiyanage Nov 14, 2026 868 views

Question details

The user wants to know whether nested section groups can be created in OneNote for the web or through OneNote JavaScript API 1.1.

Nested Section Groups in OneNote for the Web and the JavaScript API
Product
OneNote for the web and OneNote JavaScript API 1.1
Device & OS
not provided
Scenario
Organizing a notebook by placing one section group inside another.
Observed behavior
The web interface described does not show an option to create a nested section group.
Before you start

Check which OneNote app and version you are using, since section group options can differ between clients. For an add-in, also check the OneNote JavaScript API requirement set your code targets.

Solution 1Recommended

Create a nested section group in OneNote 2016

Use the desktop client if OneNote for the web does not offer the nesting option.

The web interface described in this record does not support creating nested section groups. OneNote 2016 supports this organization, although available commands can vary by client and version.

1
Open the notebook

Open the notebook in OneNote 2016 and navigate to the section group that should contain the new group.

2
Create the nested group

Right-click the section group and choose New Section Group, if available. Enter a name for the new group.

3
Check the hierarchy

Open the parent section group and confirm that the new group appears inside it. Allow the notebook to sync before checking it in another client.

Create a nested section group in OneNote 2016
Client support varies: The Windows app interface discussed in the original answer also did not support creating nested groups. Do not assume that every Windows OneNote client has the same commands as OneNote 2016.
Free Microsoft Office alternative

Organize Office documents with WPS Office

WPS Office is a free, lightweight Office alternative with a familiar interface for working with documents, spreadsheets, and presentations. Its Microsoft Office format support helps you move existing files into your workflow. It does not fix OneNote's nested section group limitations or directly replace OneNote notebooks.

Organize related document files for projects and notesOpen and edit common Microsoft Office formats, including DOCX, XLSX, and PPTXUse familiar editing tools with a lightweight applicationStart working with existing Office files without changing their formats
microsoft office alternative - wps office

Frequently Asked Questions

Can I create a section group inside another group in OneNote for the web?

The web interface described in this record does not provide that option. Try opening the notebook in OneNote 2016 and using New Section Group within the parent group.

Can the OneNote JavaScript API create nested section groups?

In the API version discussed here, section groups are available as read-only objects. Check the Microsoft Learn reference for your target requirement set before assuming creation or modification is supported.

Is OneNote 2016 the same as the Windows app mentioned in the answer?

No. OneNote 2016 is a desktop client, while the Windows app discussed in the original answer is a separate client with different capabilities. Check the app name and version before looking for the nesting command.

Where can I get help with a OneNote JavaScript API call?

Consult the OneNote JavaScript API reference on Microsoft Learn, then post a specific question with your code and requirement set on Stack Overflow or a Microsoft developer forum.