Open the folder settings

Edit the page, open Settings, and expand Folders. Enable Show folder tree to display the navigation pane. Disabling it leaves the content area available; it does not create a tree-only view.

Set expansion and counters

  • Initial expansion depth accepts 0, 1 or 2. With 0, users expand the root themselves. Higher values expand the corresponding levels when the tree initializes.
  • Show file counts displays the file count supplied by SharePoint for a folder when that metadata is available. It is not a count of search matches or of all files in descendant folders.
  • Hide empty folders hides child folders whose SharePoint item count is zero. A folder containing subfolders is not necessarily empty.

Choose folder sorting

Use Folder sorting to choose Name, Natural order (2 before 10), or Library order (item ID). Natural sorting places a folder such as 2. Contracts before 10. Reports. Library order uses the item ID; it is not a drag-and-drop ordering editor.

📝 Note
Child folders load when a branch is expanded, in pages of up to 200. Sorting applies to the loaded nodes. Select Load more within a branch when another page is available; the web part does not load the entire library tree in advance.

Verify the tree

Save or republish the page. Expand a branch with several folders and confirm the ordering and counters. Select a folder name to show its contents; expanding the arrow and selecting the folder are separate actions.

Expansion, counters and natural folder sorting

Expansion, counters and natural folder sorting

Questions and answers

Ask a question about this article and get an official answer from our team.

No questions yet. Be the first to ask.

Featured Articles

Searching the Knowledge Base and Paged Loading in Questions and Answers

Reference for how search and paging work in the Vitextra Questions and Answers web part: which columns the search box covers, how the query is run on the server, special characters and languages, the "nothing matches" state, the Page Size option (All, 10, 20, 50, 100), the Show more button, server-side sorting across pages, how search, categories and paging interact, and the 5,000-item considerations for large lists.

62 5 min
Setting the Starting Folder and Navigation Root in Folder Tree

Open Folder Tree at a specific SharePoint folder and restrict navigation to that branch without changing document permissions.

2 2 min
How to View Previous Policy Acknowledgements and Receipts

Find completed assignments, inspect recorded policy receipts and understand the difference between a receipt, a carried assignment and a document snapshot.

21 3 min

Share