Adding Custom Headers and Footers using PnP PowerShell

%3CLINGO-SUB%20id%3D%22lingo-sub-126598%22%20slang%3D%22en-US%22%3EAdding%20Custom%20Headers%20and%20Footers%20using%20PnP%20PowerShell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-126598%22%20slang%3D%22en-US%22%3E%3CP%3EHi%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20don't%20know%20whether%20I%20missed%20it%20or%20not%20but%20can%20I%20add%20Custom%20Headers%20and%20Footers%20to%20a%20Modern%20Page%20using%20PnP%20PowerShell%20%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ENigel%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-126598%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExtensibility%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EPnP%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-126690%22%20slang%3D%22en-US%22%3ERe%3A%20Adding%20Custom%20Headers%20and%20Footers%20using%20PnP%20PowerShell%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-126690%22%20slang%3D%22en-US%22%3ENot%20sure%20if%20this%20is%20something%20you%20can%20do%20Today%20since%20adding%20a%20custom%20header%20%2F%20footer%20to%20a%20modern%20page%20implies%20to%20create%20a%20SPFx%20Extension.%20Take%20a%20look%20at%20this%20discussion%3A%20%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2FSharePoint%2FPnP-PowerShell%2Fissues%2F1048%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fgithub.com%2FSharePoint%2FPnP-PowerShell%2Fissues%2F1048%3C%2FA%3E%3C%2FLINGO-BODY%3E
Highlighted
Regular Contributor

Hi

 

I don't know whether I missed it or not but can I add Custom Headers and Footers to a Modern Page using PnP PowerShell ?

 

Thanks

 

Nigel

1 Reply
Highlighted
Not sure if this is something you can do Today since adding a custom header / footer to a modern page implies to create a SPFx Extension. Take a look at this discussion: https://github.com/SharePoint/PnP-PowerShell/issues/1048