Hi, for a javascript program, I want to differentiate the way the program works in the production environment and in the test environment.
The only difference between the two installation is the server name : prod.mycompany.fr vs test.mycompany.fr.
So, is there a way to get the server name information from a server-side javascript program ?
Note : if this is impossible, perhap's there's a way to do that using alfresco-global.properties but once more, how to get a property set in this file from a serverside javascript program ?
Thanks for sharing ideas, Pierre
I'm not sure I undestand the way this works and I did not found any sample explaining how to set both js ans config file.
But it seems that there are some limitations (not really undestoood which one) so are there any other ideas to share ?
Thanks, Pierre
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.