Welcome to deBUG.to Community where you can ask questions and receive answers from Microsoft MVPs and other experts in our community.
0 like 0 dislike
14 views
in SharePoint Server by 12 31 49
edited by

In SharePoint OnPrem as well as SharePoint online, when viewing a SharePoint list, it appears in a Modern Experience User Interface UI, and to go to the classic SharePoint UI, I have to click on the left-bottom button `Return to classic SharePoint` to switch to the classic experience, How can I disable SharePoint Modern Experience for Specific list in SharePoint Online and SharePoint Server 2019 without clicking on "Return to classic SharePoint."

modern experience SharePoint list


1 Answer

1 like 0 dislike
by 12 31 49

How to Disable SharePoint List Modern Experience?

There is two way to disable modern experience for specific SharePoint list or library level:
1. Using SharePoint List Setting
2. Using PowerShell

1) Disable SharePoint List Modern Experience using List Settings

  1. Go to List Settings --> Advanced Settings.
  2. Scroll down to List Experience.
  3. Check Classic Experience.
    Classic experience

2) Disable SharePoint List Modern Experience using PowerShell

In PowerShell, you can change from modern to classic and the opposite or to default mode by grinning the below script:

Switch to Classic Experience for SharePoint List

Add-PSSnapin microsoft.sharepoint.powershell -ea 0
$site = Get-SPWeb {WebSite URL}
$list = $site.Lists["{ListName}"]

#Classic experience
$list.ListExperienceOptions = "ClassicExperience"
$list.Update()

Switch to Modern Experience for SharePoint List

Add-PSSnapin microsoft.sharepoint.powershell -ea 0
$site = Get-SPWeb {WebSite URL}
$list = $site.Lists["{ListName}"]
#Modern experience
$list.ListExperienceOptions = "NewExperience"
$list.Update()

Switch to Default Experience for SharePoint List

Add-PSSnapin microsoft.sharepoint.powershell -ea 0
$site = Get-SPWeb {WebSite URL}
$list = $site.Lists["{ListName}"]
#Default experience
$list.ListExperienceOptions = "Auto"
$list.Update()

See Also

If you don’t ask, the answer is always NO!
...