
Save the changes and refresh site in browser, the list/library is now hidden from all users. In the settings section, click on the “Hide from Browser” under General. This will show all the list and libraries in current particular site.Ĭlick on the list or library which you want to show or hide from the browser or view site content. Open the site in SharePoint designer and click on Lists and Libraries from left panel. SharePoint Designer is a very useful tool when you need to do some customizations, if you do not have development expertise to execute any PowerShell Script then you can easily do it using SharePoint Designer. Hide list or Library using SharePoint Designer ShowHideList " "Internal Documents" $trueĭownload the above PowerShell script from GitHub. function ShowHideList($siteUrl, $listName, $showHideValue) Just like the script written in above section, I have written a PowerShell script having the same function name but for on-premise environment. Use the below PowerShell script to show or hide the list and library from the users for SharePoint On-Premise ( SharePoint 2010, SharePoint 2013, SharePoint 2016, SharePoint Foundation). Hide list and libraries in SharePoint On-premise Download the above PowerShell script from GitHub. You can easily show/hide a SharePoint List or library using above function in SharePoint Online. #site URL, List/Library name, $true/$false You have to call the function ShowHideList which require three parameters. Write-Host "$listName enabled/shown successfully!" Write-Host "$listName hidden successfully!" $credentials = New-Object ($userName,$password)įunction ShowHideList($siteUrl, $listName, $showHideValue) =Read-Host -Prompt "Enter Password" -AsSecureString Use the below PowerShell script to show or hide the list and library from the users for SharePoint Online ( Office 365). Hide list and libraries in SharePoint Online
