Forum Discussion

EVERTON BATISTA PETRO ALEXANDRE's avatar
Dec 20, 2018

SharePoint 2016 On Premise Reusing SPFX Webpart

Hello, 

 

I am developing a big project with many SPFX webparts. I am using SharePoint 2016 On Premise. I have many subsites and I would like to use my spfx webpart on each subsite. But I have two problems:

 

1 - I cant reuse the webpart. If the webpart already in root site, for example, the sharepoint can't to add in another site. The error happens: A different version of this Application is already installed with the same version number. Delete the site and site recycling application to install this version.

 

2 - How can I automatize (using powershell, per example) the step the add spfx webpart in site: this step:

 

Just remembering, I am using SharePoint 2016 On premise. SPFX version 1.1 (I am not sure, but I think that I cant use another SPFX version in on premise)

Thanks

Everton

Resources