Skip to main content

Posts

Showing posts from February, 2020

SharePoint Online: PowerShell to Change Page Layout

Single part app pages provide the capability to host SharePoint Framework web parts or Teams applications in SharePoint Online with a locked layout.  Pros: Single Part App Pages cannot be edited by end-users using a browser It will take the entire width & Header banner area Cons: Currently supports hosting only a single web part or Microsoft Teams application Developers can change page layout programmatically from normal page layout to a Single Page App Page To deploy the Single Web Part App Page in your tenant follow the next steps: Install PowerShell Gallery Open PowerShell as Administrator & run the following command Update Page Template Change the "About-Us.aspx" to the name of the page you want to update Before After Happy Coding...