Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

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)

share|improve this question
    
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 at 15:04
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.