Add Single Web Part App Page
Connect-PnPOnline -Url "https://sharepoint.com" | |
## Add Page using PnP PowerShell | |
$page = Add-PnPClientSidePage -Name "TestAppPart.aspx" -LayoutType SingleWebPartAppPage | |
## Add a section the Page | |
Add-PnPClientSidePageSection -Page $page -SectionTemplate OneColumnFullWidth | |
## Add a Client Side Web Part | |
Add-PnPClientSideWebPart -Page $page -DefaultWebPartType SiteActivity -Section 0 -Column 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment