I'm trying to install an app in a site from the AppCatalog using the javascript CSOM

I get the apps from the App Catalog using

req.apps = SP.AppCatalog.getAppInstances(clientContext, oWebsite);

I exec the async call and I get the AppInstances.

but now I'm trying to use the install method (to install the app in the site) but nothings happens (I don't have errors but the app isn't installed)

  • Look in the ULS logs, still no errors related to this? – Robert Lindgren Jul 23 '13 at 16:37
  • it doesn't seem to have errors. there are traces about the CSOM execution, but no errors. – Benja Jul 29 '13 at 9:20
  • Then add the code there you try to install the app :) – Robert Lindgren Jul 29 '13 at 9:21
  • Hello Benja, I am also working on something similar to this.. Will you share your main code on how to get apps in AppCatalog.. It would be of great help.. Thanks in Advance – kart Feb 18 '14 at 15:04

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.