Can a SPFX extension be deployed to a SharePoint site?
There are few different ways on getting your SPFx extensions deployed and activated in SharePoint sites. The correct option depends on your business requirements and objectives. The primary options are as follows:
Where do I find the SPFX extension identifier?
You need to associate the following properties in the UserCustomAction object at the site collection, site, or list level. ClientSideComponentId: This is the identifier (GUID) of the SPFx extension that has been installed in the app catalog.
How to use Alm APIs in SharePoint CSOM?
The available scope options are tenantappcatalog and sitecollectionappcatalog. The PnP CSOM implements the ALM APIs by calling the SharePoint REST API. Before using any of the ALM APIs in PnP CSOM, you need to obtain an authenticated client context using the Microsoft.SharePointOnline.CSOM.
How to install an extension in SharePoint framework?
Install the solution package to the site where it should be installed so that the extension manifest allowed for execution. Associate the Application Customizer to the planned scope. This can be done programmatically via the SharePoint REST or CSOM APIs, or by using the Feature Framework in the SharePoint Framework solution package.
Where to set skipfeaturedeployment in SPFX extension deployment?
On the basis of your answer, a property skipFeatureDeployment is set in config/package-solution.json file. If skipFeatureDeployment is set to true then feature framework based deployment will be skipped and deployment will be done tenant wide.
Where to find SPFX application customizer deployment.sppkg?
Deploy .sppkg file generated in sharepoint/solution folder to app catalog. Next, open Tenant Wide extensions list from app catalog >> site content >> Tenant Wide Extensions and you will see a record created for your application customizer. You can control where your extension will be available by editing this record.
How long does it take to activate a SPFX extension?
As soon as a record is created in Tenant Wide Extensions list, you SPFx extension is automatically activated to all sites in tenant (may take up to 20 minutes). You can control where your spfx extension should be available and where not using Tenant Wide Extensions list .