How to Fix Confluence Page Tree Not Showing
In this tutorial, you'll learn about How to Fix Confluence Page Tree Not Showing. We cover key concepts, practical examples, and best practices.
The Confluence page tree in the sidebar is empty, shows only a root page, or pages do not appear under their parent. Page hierarchy and permissions cause display issues.
The Wrong Way
// Creating pages at the root level only
confluence.createPage({ space: 'DEV', parent: null });
All pages at root level flatten the tree. The sidebar shows a long, unorganized list instead of a hierarchy.
The Right Way
Step 1: Check page parent
# Open a page → Page Information → "Parent Page"
# If "None", the page is at the root level
# Root pages appear in the tree but are not nested
Step 2: Set the correct parent page
# To move a page under a parent:
# ... → Move → select the target parent
# Or in the tree view:
# Drag and drop the page onto its parent
Step 3: Verify space permissions
# Space Settings → Permissions → "View" access
# If a user cannot see a parent page, child pages are also hidden
# This cascades — invisible parents hide their entire subtree
Step 4: Expand the page tree
# In the sidebar: Click "..." next to the space name
# → "Expand all" → shows all pages
# If pages are missing even after expanding, check permissions
Page tree shows: Project > Documentation > API Reference > Endpoints — properly nested, all 47 pages visible.
Prevention
- Plan page hierarchy before creating pages — use a site map template.
- Set parent on page creation, not as an afterthought.
- The hierarchical tree navigation is similar to DodaZIP's folder explorer — collapsing and expanding sections without losing context.
Common Mistakes with page tree
- Overlapping type class instances that cause GHC to reject the program with ambiguous dispatch errors
- Non-exhaustive pattern matches that compile with warnings then crash at runtime
- Misunderstanding that
Stringis[Char]with poor performance for large text operations
These mistakes appear frequently in real-world CONFLUENCE code. DodaTech's contributors have identified these patterns through analysis of open-source projects and production systems.
Practice Exercise
Write a pure function that safely divides two integers using Maybe, then test it with edge cases like division by zero and negative numbers.
This exercise reinforces the concepts covered in this guide. Try implementing it before checking online solutions.
FAQ
Built by the developers of DodaTech
Doda Browser, DodaZIP & Durga Antivirus Pro