Tag: Add-PnPClientSidePage

Get client side Hero webpart PropertiesJson

First create a new page and configure your Hero webpart content as needed. Using PnP PowerShell connect to the site and get the page: Connect-PnPOnline -Url https://$tenant.sharepoint.com/sites/$siteUrl $homePage = Get-PnPClientSidePage -Identity $pagename $heroWebPart = $homePage.Controls | ? {$_.Title -eq "Hero"} $heroWebPart.PropertiesJson   Copy this Json content and add it to the following code to update … Continue reading Get client side Hero webpart PropertiesJson

Creating a new Client side Page with PnP-PowerShell

Very often I came across business requirements to automation the creation of sites and pages in SharePoint, this process is not easy in Office 365 SharePoint Online. In this post I'm sharing my experiences with client side page creation with PnP-PowerShell. Many thanks to the #amazing #PnP team on providing us with this #great tool. … Continue reading Creating a new Client side Page with PnP-PowerShell