Quantcast
Channel: SharePoint 2013 - Development and Programming forum
Viewing all articles
Browse latest Browse all 7589

How to get the version number of a SharePoint hosted App instance using JavaScript?

$
0
0

Hi,

Is there a way to find out the version of an App instance using SP JavaScript library? The App is SharePoint Hosted and has been deployed to the current site.

I have an aspx page which will be deployed to SharePoint online. On the page, I'd like to add some logic to check if a certain App instance exists at the site level, and display different message based on its version. I am able to use SP.Web.getAppInstancesByProductId() to get the instance but it has all information (title, url, Id, etc.) except the app version number. 

Thanks,

Matt.



Viewing all articles
Browse latest Browse all 7589

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>