Home » SharePoint » How to Enable Tree View in SharePoint Online – Seamless Guide!
SharePoint ~ 5 Minutes Reading

How to Enable Tree View in SharePoint Online – Seamless Guide!

author
Published By Mohit Jha
admin
Approved By Admin
Calendar
Published On May 13th, 2024

In this article, we will explain the methods and steps required to enable tree view in SharePoint online including an automated way to enable it using PowerShell. Additionally, we will also propose a situation where a data loss can happen and a solution to tackle it.

Sharepoint is a popular platform preferred by organizations to enhance collaboration and easy communication within organizations. Large organizations may have many subsites and folders in their SharePoint site. However, accessing all the sites and viewing all the sites at once is hectic when you don’t have a tree view enabled in it. A question may arise in the mind of the site Owner about how to enable tree view in SharePoint.

What is a Tree View in SharePoint Online?

The Tree View helps to provide a quick launch section in which there is a list of all sub-sites and current site collections. It provides ease of use while navigating to many subsites, lists, libraries, and folders at once.
By this definition, you can understand the need for a tree view in the SharePoint online site. Let’s see how to enable tree view in SharePoint Online and the steps associated with enabling it.

How to Enable Tree View in SharePoint – Different methods with steps.

The tree view method can only be implemented for SharePoint Classic sites. To enable it in the modern site you need to use some third-party software and integrate it with the SharePoint framework solution.

Steps to enable tree view in SharePoint Online site –

Step 1. Login to your SharePoint site.

Step 2. Click on settings and select site settings from the opened menu.

Step 3. Now on the site settings page under the “Look and Feel section” click on “Navigation elements”.

Step 4. You can able to see the tree view section and  Check on the “Tree view” option to enable tree view in SharePoint.

Step 5. Now click on Save Changes to update the changes in settings.

After following these steps you can able to see the changes in your SharePoint site.

Note: ensure that your SharePoint site library’s list experience is checked to “Classic” 

If not then you can follow these steps 

  • Click on Library Settings  
  • then click on Advanced Settings
  • Click on List Experience.
  • And set it to “Classic”.

How to Enable Tree View in SharePoint Online Using PowerShell?

You can automate the process of enabling tree view by using PnP PowerShell cmdlets. Make sure to install PnP PowerShell on your device. Copy the cmdlets given below and paste them into your Powershell.

#Initial parameters for PnP
$SiteURL = "Copy and Paste your site URL here!"
Try {
    #cmdlets to connect SharePoint site to PnP Online
    Connect-PnPOnline -Url $SiteURL -Interactive
    #now try to get the web on PnP
    $Web = Get-PnPWeb -Includes TreeViewEnabled
    #cmdlest to enable tree view
    $Web.TreeViewEnabled = $True
    $Web.Update()
    Invoke-PnPQuery
    Write-Host "Woohoo! You have learned How to enable Tree View In Sharepoint" -f Green
}
Catch {
    Write-host "oops error"$_.Exception.Message
}

Note: only works for classic sites. See the alternate solution for Modern sites.
After following all these steps your query regarding how to enable tree view in SharePoint online is solved.

Alternate Solution for Modern Sharepoint Sites

For modern SharePoint sites managing a large list of subsites is complicated and may cause a situation of false deleting, irritating for content management, and may lead to a bad user experience. To avoid this situation we propose a solution where you can migrate your subsite to another site. This solution will help to divide the old site content which is not used currently but required for future use. Then you can delete the old subsites from the current site. However, If you do not know how to delete a SharePoint site and subsite you can read the given article by clicking on the link.

To perform SharePoint Online tenant-to-tenant migration you can follow the manual method but the manual method requires expertise and prerequisites. However, Microsoft doesn’t provide any direct solution you can use vendor software to automate the process of migration. Many professionals suggested using the SysTools SharePoint Online Migration Tool which can streamline the process of migration between sites.

Features of the Automated Tool

After understanding how to enable tree view in SharePoint online. Let’s see some features of the migration tool to enable tree view in modern sites.

  • Migrate your emails and calendars without any hassle to another Mailbox
  • Move all your teams and groups and their data to another team seamlessly.
  • Migrate all the SharePoint sites from one tenant to another tenant efficiently.
  • Migration is automated and streamlined for the Office 365 In-Place Archive mailbox.
  • Migration options like delta migration provide real-time migration.

Conclusion

In this write-up, we have mentioned all the steps that are required to solve your query regarding how to enable tree view in SharePoint Online. However, we have mentioned a method to automate the process using PowerShell. Additionally, we have mentioned an alternate way to enable tree view in modern SharePoint sites. Go through this blog if you have any problem regarding enabling tree view in SharePoint.

FAQs

Q1. What is the significance of enabling Tree View in SharePoint Online?

Tree view makes navigating large lists and libraries in SharePoint Online much easier. By enabling it, you can expand and collapse folders and subfolders, this allows you to find the specific item you’re looking for quickly. 

Q2. How do I enable Tree View in SharePoint Online?

  • Step 1. Go to the desired SharePoint site in your web browser.
  • Step 2. Navigate to Settings and then click on Site Settings from the menu.
  • Step 3. On the Site Settings page, click on Navigation Elements under the Look and Feel section. You can also access this directly using the URL shortcut: `/_layouts/navoptions.aspx`.
  • Step 4. In the Enable Tree View section, locate the checkbox and select it to enable Tree View.
  • Step 5. Click OK to save your changes.

Q3. Does Tree View work on Modern SharePoint experiences?

No, you can only enable Tree View through the classic site. If you want it to work on modern sites too, then you have to migrate or convert from Modern SharePoint experiences to classic site experiences.