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?

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 “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 *