I have extended the footer page that is deployed as a separate jar in alfresco share[webapps/share/WEB-INF/lin/xx.jar] and try to display the value in ftl file by reading the value from alfresco-global.properties that is placed in the below path.Is it possible to display the value in ftl file from global properties file?This value should be changed based on environments.
C:\Alfresco\tomcat\shared\classes
alfresco-global.properties
displayValue=xyz
footer.get.html.ftl
<@markup id="footer-extension-html" target="html" action="replace" scope="global">
<@uniqueIdDiv>
<div class="footer ${fc.getChildValue("css-class")!"footer-com"}">
<span class="copyright">
<a href="#" onclick="Alfresco.module.getAboutShareInstance().show(); return false;"><img src="${url.context}/res/components/images/${fc.getChildValue("logo")!"alfresco-share-logo.png"}" alt="${fc.getChildValue("alt-text")!"Alfresco Community"}" border="0"/></a>
<#if licenseHolder != "" && licenseHolder != "UNKNOWN">
<span class="licenseHolder">${msg("label.licensedTo")} ${licenseHolder}</span><br>
</#if>
<span>${msg(fc.getChildValue("label")!"label.copyright")}</span><br><br>
<span style='margin-left:175px;'><font size="1">Display Value*******</font>:<b><font face="verdana" color="green">${displayValue}</font></b></span>
</span>
</div>
</@>
</@>
footer-extension.xml
<extension>
<modules>
<module>
<id>application Footer Extension</id>
<description>Display Value</description>
<auto-deploy>true</auto-deploy>
<customizations>
<customization>
<sourcePackageRoot>com.xxxts.components.footer</sourcePackageRoot>
<targetPackageRoot>org.alfresco.components.footer</targetPackageRoot>
</customization>
</customizations>
</module>
</modules>
</extension>