Modern SharePoint Footer - very memeworthy!

How to disable the footer in Modern SharePoint?

Reading Time: 2 minutes.

Modern SharePoint Online recently got a new, super useful and much-requested new feature: site footer. This little buddy now makes it possible to create informative, stylish and useful footer areas to your intranet sites.

But what if you already implemented a footer solution based on, say, SPFx extensions, and now you’ve got 2 footers?

Well, you might want to disable one of those two. My guideline would be this: if you already have a custom/vendor solution for your footer, use that if it works for you. If it’s built in-house, prepare to develop it in the future as well, though, as Microsoft will be changing things constantly. If it’s built by a vendor, pressure them to keep their solutions up-to-date.

That said, the need to disable the built-in SharePoint footer might arise. So how to do that?

How to disable the Modern SharePoint footer?

Right now, disabling the footer seems to require Powershell. Shouldn’t be too complicated, though! See the snippet below.

How to disable the Modern SharePoint Site Footer with PnP Powershell?

Import-Module SharePointPnPPowerShellOnline
Connect-PnPOnline -Url "https://contoso.sharepoint.com/sites/commsite" –Credentials (Get-Credential) 
$web = Get-PnPWeb  
$web.FooterEnabled = $false  
$web.Update() 
Invoke-PnPQuery

Note: If you’re using MFA, replace the Connect-PnPOnline command above with something like this:

Connect-PnPOnline -Url "https://contoso.sharepoint.com" -UseWebLogin

If you run into errors like “FooterEnabled is not a property of this object” or similar, you’re using an old version of SharePointPnPPowerShellOnline. Safest to run something like this to get rid of the old ones and only install the latest one:

Uninstall-Module SharePointPnPPowerShellOnline -AllVersions
Install-Module SharePointPnPPowerShellOnline

And you should be good!

Furthermore, similar to how you disable the footer, you can just set $web.FooterEnabled = $true to re-enable the footer. You can’t, however, use this to enable the footer before Microsoft has rolled it out to your tenant!

References

Antti K. Koskela

Antti Koskela is a proud digital native nomadic millenial full stack developer (is that enough funny buzzwords? That's definitely enough funny buzzwords!), who works as a Solutions Architect for Valo Intranet, the product that will make you fall in love with your intranet. Working with the global partner network, he's responsible for the success of Valo deployments happening all around the world.

He's been a developer from 2004 (starting with PHP and Java), and he's been bending and twisting SharePoint into different shapes since MOSS. Nowadays he's not only working on SharePoint, but also on .NET projects, Azure, Office 365 and a lot of other stuff.

This is his personal professional (e.g. professional, but definitely personal) blog.

Leave a Reply

avatar
5000
  Subscribe  
Notify of