SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a SharePoint API that would let me get a list of installed apps along with their hashes? I have some external web sites that are making REST calls to a SharePoint hosted app using cross domain library, but the problem is every time I reinstall the sharepoint app, its hash changes, so i have to manually update its URL in the external sites' JS code. I am looking into ways to automate that.

share|improve this question

Figured it out:

SPAppCatalog.GetAppInstances(parentWeb);
share|improve this answer

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.