Contents
When developers create a new SharePoint Framework extension solution using standard SharePoint Framework Yeoman packages, automation is included in the solution package to activate extension across the tenant.
Specific SharePoint Framework extensions can be activated in the tenant level by adding entries to the Tenant Wide Extension list. Each entry can be targeted to specific web template or a list type, depending on the functional requirements.
How to deploy an app extension to SharePoint?
This command creates the following package: ./sharepoint/solution/app-extension.sppkg. You now need to deploy the package to the app catalog. Go to your tenant’s app catalog and open the Apps for SharePoint library. Upload or drag and drop the ./sharepoint/solution/app-extension.sppkg file to the app catalog.
How to deploy SharePoint add ins to a tenant?
This means that the skipFeatureDeployment attribute in the package-solution.json will need to be set as true. App catalog site collection is used to deploy SharePoint add-ins and SharePoint Framework components to the tenant.
Unlike in Debug mode, to use an extension on modern SharePoint pages, you need to deploy and register the extension with SharePoint in Site collection, Site, or List scope. The scope defines where and how the Application Customizer is active. In this particular scenario, we’ll register the Application Customizer by using the Site collection scope.
SharePoint Framework (SPFx) Extensions are client-side components that run inside the context of a SharePoint page. You can deploy extensions to SharePoint Online, and you can use modern JavaScript tools and libraries to build them. You can also follow the steps in this article by watching the video on the SharePoint PnP YouTube Channel: