SharePoint Online: How to Add a Document Library to Site Navigation?

Requirement: Add a Document Library to quick launch navigation in SharePoint Online.

How do I add a document library to Quick Launch or Top Navigation?

Are you looking for a way to add document libraries to your SharePoint Online site navigation? Well, This article provides an easy-to-follow guide on how to add document libraries to a SharePoint Online site’s navigation bar so that everyone can quickly and easily find what they are looking for.

Follow the below steps to add a SharePoint document library to Quick launch or top navigation:

  1. Navigate to SharePoint Online Document Library.
  2. Click on Settings >> Document Library Settings.
  3. Click on the “List name, description and navigation” link under “General Settings”.
  4. Set “Yes” for “Display this document library on the Quick Launch?”.
    I add a document library to site navigation
  5. Click on the “Save” button.

This adds the document library to the Quick launch menu. Alternatively, you can click on the “Edit” link under Quick launch navigation and click on the “+” symbol to add a list or document library to the navigation.

PowerShell to Add a Document Library to Quick Launch Navigation

You can add a document library to SharePoint Online navigation with PowerShell too!

#Config Variables
$SiteURL = "https://crescent.sharepoint.com/sites/retail"
$LibraryName = "Documents"
  
#Connect to the Site
Connect-PnPOnline -URL $SiteURL -Interactive
 
#Get the Library
$Library = Get-PnPList -Identity $LibraryName
$Library.OnQuickLaunch =  $true
$Library.Update()
Invoke-PnPQuery

Salaudeen Rajack

Salaudeen Rajack - SharePoint Expert with Two decades of SharePoint Experience. Love to Share my knowledge and experience with the SharePoint community, through real-time articles!

Leave a Reply

Your email address will not be published. Required fields are marked *