0

Given a SP 2016 (w/ Feature Pack 2) farm, is there any way to install a SPFx web part that has been deployed to the App Catalog on a specific site through code?

I'm talking about getting the web part available on the site so that it can be added to pages. I want to automate the process that happens when you go to Site Contents -> Add an app, and then select the SPFx web part to add it to the site.

Looking for any way to do that through REST or JSOM. Or Powershell. Just not CSOM/Server-side code.

I know SP Online now has the Application Lifecycle Management APIs, but my understanding is that is not available for SP 2016 on-prem.

If it is, that would solve my problem because I'm basically trying to do exactly this.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.