pnp / PnP-PowerShell

SharePoint PnP PowerShell CmdLets
https://pnp.github.io/powershell
Other
989 stars 663 forks source link

Moving a Client Side Page using Move-PnPFile moves the page, but does not preserve Header Image (Banner Image) on a Client Side Modern page #2010

Open ravinleague opened 5 years ago

ravinleague commented 5 years ago

Im using Add-PnPClientSidePage -Name $fileLeafRef -Connection $conn_online -Publish that creates a page at the rool level of the sitepages directory in a Modern Site. Do we have something to create a page in a specific folder ?

As a workaround, I am initially creating the page at the default root level and using Move-PnpFile to move the client side page to specific folder. The issue is that the page gets moved across but does not preserve Header Image (Banner Image)

pandiarajank commented 5 years ago

Hi Ravi,

To create a page in specific folder: Add-PnPClientSidePage -Name "Folder/filename" -Publish

Thanks Pandiarajan K

ravinleague commented 5 years ago

Thank you

On Wed, 18 Sep 2019 at 8:05 pm, pandiarajank notifications@github.com wrote:

Hi Ravi,

To create a page in specific folder: Add-PnPClientSidePage -Name "Folder/filename" -Publish

Thanks Pandiarajan K

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/SharePoint/PnP-PowerShell/issues/2010?email_source=notifications&email_token=AEO5R7AECUHFGR4TFDRSA7DQKH4NVA5CNFSM4HEOJQ72YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD67RKDY#issuecomment-532616463, or mute the thread https://github.com/notifications/unsubscribe-auth/AEO5R7BSRJGP7W7DFSTKCULQKH4NVANCNFSM4HEOJQ7Q .

-- Regards, Ravi Challa