Events
Microsoft 365 Community Conference
May 6, 2 PM - May 9, 12 AM
Skill up for the era of AI at the ultimate community-led Microsoft 365 event, May 6-8 in Las Vegas.
Learn moreThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Single part app pages provide a capability to host SharePoint Framework web parts or Microsoft Teams applications in SharePoint Online with a locked layout. End users cannot modify or configure the page that is using the Single Part App Page layout.
App pages have following characteristics:
App pages are exposed as an option in the modern page creation capability when you chose the used page layout for your page. All web parts that have been configured to be available also as an app page are available on the Create page capability.
Web part can be configured to be exposed as an app page. This configuration is done in the web part manifest file by adjusting the supportedHosts
value. Web part will be exposed as an option in the upcoming app pages picker user interface, if the supportedHosts
value contains "SharePointFullPage"
value.
Following web part manifest demonstrates scenario where the web part is included to be in all supported platforms by updating all different values for the supportedHosts
parameter.
{
// ...
"requiresCustomScript": false,
"supportedHosts": ["SharePointWebPart", "SharePointFullPage", "TeamsTab"],
"preconfiguredEntries": [{
// ...
}]
}
As a developer, the two most common ways to provision Single Part App pages is to use PnP PowerShell or CLI for Microsoft 365.
You can use PnP PowerShell to update the page layout for the existing page with following script.
Note
PnP PowerShell is an open-source solution with active community providing support for it. There is no SLA for the open-source tool support from Microsoft.
You can also use CLI for Microsoft 365 to update the page layout for the existing page with following script.
Note
The CLI for Microsoft 365 is an open-source solution with active community providing support for it. There is no SLA for the open-source tool support from Microsoft.
Connect-PnPOnline -Url https://contoso.sharepoint.com/sites/marketing
Set-PnPPage -Identity "Page" -LayoutType SingleWebPartAppPage
Refer to the PnP PowerShell documentation for complete details and examples on this cmdlet.
You'll need to adjust tenant and page name based on your environment.
Events
Microsoft 365 Community Conference
May 6, 2 PM - May 9, 12 AM
Skill up for the era of AI at the ultimate community-led Microsoft 365 event, May 6-8 in Las Vegas.
Learn moreTraining
Module
Enable SharePoint Framework web part configuration with property panes - Training
Learn how to enable web part configurations with property panes in the SharePoint Framework.
Certification
Microsoft Certified: Power Platform Developer Associate - Certifications
Demonstrate how to simplify, automate, and transform business tasks and processes using Microsoft Power Platform Developer.