public override void FeatureActivated(SPFeatureReceiverProperties properties) { string cWebUrl = (properties.Feature.Parent as SPWeb).Url; SPFxHelper.LoadAndInstallSPFxAppPackages(cWebUrl); }
public override void FeatureActivated(SPFeatureReceiverProperties properties) { string cSiteUrl = (properties.Feature.Parent as SPSite).Url; SPFxHelper.DeploySPFxWebPartInAppCatalog(cSiteUrl); }