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

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
add comment

1 Answer 1

Figured it out:

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

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.