cancel
Showing results for 
Search instead for 
Did you mean: 

How to get Alfresco Version in client-side javascript file ?

thbaymet
Champ in-the-making
Champ in-the-making
Hi, I want to know if it is possible to get Alfresco version inside of a client-side javascript file in Share.
Thanks.
1 REPLY 1

crono40
Champ on-the-rise
Champ on-the-rise
The version number is available on all pages of Alfresco in the footer when you click on the logo. Maybe you can get the page (jquery.get()) and get the number version ($(".about").find(".header")). Hope it helps.

<div class="about">
<div class="header">Alfresco Community v4.2.0</div>
<div>(r56674-b4848) schema 6033</div>
<div class="header">Spring Surf and Spring WebScripts - v1.2.0</div>
<div>(Release 1331)</div>
<div class="licenseHolder"> </div>
<div class="contributions-bg"></div>
<div class="contributions-wrapper">
<div class="copy">
</div>