Nov 04 2017 04:27 AM
Hi
I've created a web part, and installed it. It appears in the app catalog under "Apps for SharePoint".
It is available if I set:
"skipFeatureDeployment": true
However, if this is set:
"skipFeatureDeployment": false
The app is not available for installation on sites, or other site collections. It does not appear in "Site contents > Your Apps".
Any ideas what I may be doing wrong?
Thanks.
Nov 07 2017 03:46 PM
Solution@Alan Trafford you can try to completely remove your app from app catalog and then, in the package-solution.json file, increment you package version and re-upload your app to the app catalog.
Nov 08 2017 01:00 AM
@Franck CornuThanks, I'll give it a try.
Nov 09 2017 08:06 AM
@Franck CornuAt the moment, I can't try your suggestion on the problematic web part. However, I did create a new web part using the Hello World example, and I was able to install this on different site collections. This make me think there is an issue with the original web part. I'm hoping I can test your solution in the next few days.
Nov 28 2017 12:17 AM
Nov 28 2017 06:03 AM
I have seen this happening before when the modal dialog to confirm deployment fails to display after the package file is uploaded to the catalog. If that is the case, simply select the app and press the option to Deploy from the ribbon.
@Alan Trafford can you remember if the modal dialog was displayed on the first attempt?
The solution from Franck will also work 🙂
Nov 28 2017 07:13 AM
Thanks for the alternative fix!
Yes, the modal did appear after each installation attempt. Whilst testing Franck's fix, I noticed that, after removing and reinstalling the web part, and before adding it to a specific site collection, that it was available on the site collection under "From Your Organisation". This was even after I had removed it from both recycle bins. This did not occur the first time after the version number was changed.
Nov 07 2017 03:46 PM
Solution@Alan Trafford you can try to completely remove your app from app catalog and then, in the package-solution.json file, increment you package version and re-upload your app to the app catalog.