zettelkasten/OneNoteExport/Schnelle_Notizen/Neue Abschnittsgruppe/HOWTo's/26_How to disable the modern experience in SharePoint 2019 .md
2023-08-17 19:32:37 +02:00

2.2 KiB

How to disable the modern experience in SharePoint 2019

Donnerstag, 21. März 2019

09:24

 

Siehe hierzu :

 

https://techcommunity.microsoft.com/t5/SharePoint-Support-Blog/How-to-disable-the-modern-experience-in-SharePoint-2019/ba-p/303649

 

 

 

How to modify the default experience for list and libraries as a user

From the user perspective, switching from modern and classic is a simple click. For example, users will see "Return to classic SharePoint" on all lists and libraries. Once in classic mode there will be an option to "Exit classic experience" to return to modern mode.

 

 

 

 

As a Admin :

 

Site Collection Level:

#Site Collection Level
Add-PSSnapin microsoft.sharepoint.powershell -ea 0
$site = Get-SPSite http://spwfe

#Disable modern Lists and libraries at the Site Collection Level
$featureguid = new-object System.Guid "E3540C7D-6BEA-403C-A224-1A12EAFEE4C4"
$site.Features.Add($featureguid, $true)

#Re-enable the modern experience at the site collection Level.
$featureguid = new-object System.Guid "E3540C7D-6BEA-403C-A224-1A12EAFEE4C4"
$site.Features.Remove($featureguid, $true)

 

 

Web Level:

#Web Level
Add-PSSnapin microsoft.sharepoint.powershell -ea 0
$site = Get-SPWeb http://spwfe

#Disable modern Lists and libraries at the Web Level.
$featureguid = new-object System.Guid "52E14B6F-B1BB-4969-B89B-C4FAA56745EF"
$site.Features.Add($featureguid, $true)

#Re-enable the modern experience at the Web Level
$featureguid = new-object System.Guid "52E14B6F-B1BB-4969-B89B-C4FAA56745EF"
$site.Features.Remove($featureguid, $true)

 

 

** Library Level:**

Add-PSSnapin microsoft.sharepoint.powershell -ea 0
$web = Get-SPWeb http://spwfe
$list = $web.Lists["Documents"]

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

#Modern setting
$list.ListExperienceOptions = "NewExperience"
$list.Update()

#User Default
$list.ListExperienceOptions = "Auto"
$list.Update()

 

Aus <https://techcommunity.microsoft.com/t5/SharePoint-Support-Blog/How-to-disable-the-modern-experience-in-SharePoint-2019/ba-p/303649>