-
Notifications
You must be signed in to change notification settings - Fork 660
Added Get-PnPFooter and Set-PnPFooter #2634
Conversation
Hej Koen, there is a 'rogue' file in this PR: SetHomePages - Copy.cs. |
@erwinvanhunen Fixed and did some additional updates. Also prepared adding the ability to get and set the footer title and logo, but as that depends on a PnP Sites Core PR (pnp/PnP-Sites-Core#2673) which hasn't been merged yet, I have submitted those options in another PR (#2715). This PR is ready to be merged. |
How is the status of the Connect-PnPOnline -Url "<SiteURL>" –Credentials (Get-Credential)
Set-PnPFooter -Enabled:$false However, I could not yet find any publicly available documentation on this cmdlet. |
That's odd, because it has been merged. Let me look into that. |
The code is definitely in the June 2020 release: 07637ed#diff-64eb1152df9e33a1a65c73794570ae34 Only thing I can think of is that you're also having On-Premises modules installed on your environment at which you are looking now. Only for SharePoint Online the Set-PnPFooter cmdlet is available. Can you validate this by running |
Correct, I updated the public doc actually already before it was released in the June 2020 release. Not sure why it doesn't show in the PnP PowerShell documentation yet. Will look into that. The Set-PnPFooter is only available within the SharePointPnPPowerShellOnline module of June 2020. Doesn't matter if it's the first, intermediate 1 or intermediate 2 release. Please ensure you are using that. |
I think it was PowerShell caching problem. I've upgraded PnP PowerShell Online right before executing these commands. It started to work after opening a new session of PowerShell. |
Type
Related Issues?
N/A
What is in this Pull Request ?
Added
Get-PnPFooter
andSet-PnPFooter
to work with the footer shown on Modern Communication pages