Suddenly I observed there is a change in look and feel for site contents. The new look and feel looks good but few of customer might not like the new look if there is custom master page applied to system pages as well. OK.. So we have multiple options to revert it with classic mode.
New to Office 365 SharePoint Online? Get Office 365 Enterprise E3 Subscription & Try out all the features
1. Navigate to Admin centers, further click on SharePoint.
2. Click on Settings -> SharePoint Lists and Libraries experience, select Classic experience which will be applicable to all site collections.
We have to click on “Return to Classic Sharepoint” which will show the site contents with the custom master page in classic view .
Now the scenario is you will have to apply the changes only for specific sites. Let’s do some COSM +PowerShell scripting to achieve the same.
Please find below PowerShell script and execute against your site.
This feature is site level feature and you will have to do it for all the sub sites including your parent/root site.
$0 = $MyInvocation.MyCommand.Definition
$dp0 = [System.IO.Path]::GetDirectoryName($0)
$username = “****@**.com”
$password = “*****”
$securePassword = ConvertTo-SecureString $password -AsPlainText -Force
# connect/authenticate to SharePoint Online and get ClientContext object..
$clientContext = New-Object Microsoft.SharePoint.Client.ClientContext($url)
$credentials = New-Object Microsoft.SharePoint.Client.SharePointOnlineCredentials($username, $securePassword)
$clientContext.Credentials = $credentials
Add-Type -Path “C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.dll”
Add-Type -Path “C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.Runtime.dll”
Add-Type -Path “C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.Publishing.dll”
Add-Type -Path “C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\ISAPI\Microsoft.SharePoint.Client.Taxonomy.dll”
Write-Host “Connected to SharePoint Online site: ‘$Url'” -ForegroundColor Green
$web = $clientContext.Web
Write-Host “Connected to SharePoint Online site: ‘$web.Url'” -ForegroundColor Green
$featureguid = new-object System.Guid “52E14B6F-B1BB-4969-B89B-C4FAA56745EF”
$web.Features.Add($featureguid, $true, [Microsoft.SharePoint.Client.FeatureDefinitionScope]::None);
Read some SharePoint 2013 tutorials:
- Enable Save as Template option Publishing Site SharePoint Online
- Disable list or libraries to appear in search result SharePoint Online Office 365
- Get List Item by ID using JSOM in SharePoint Online
- Team site and publishing site in SharePoint 2013/2016
Hope this article will be helpful.
FREE SHAREPOINT 2019 PDF
(Installation & Features)