AnsweredAssumed Answered

AlfrescoJavaScript: global script variables

Question asked by blackout on Feb 20, 2007
Latest reply on Feb 21, 2007 by blackout
Good day everyone!

I have been reading Alfresco's source code for some time, till I got to the createInputMap method in AlfrescoJavaScript.java file.
Inside that method I read that global variables like userhome and person are mapped into a Java HashMap, so that they're disposable for all scripts (depending on context).

Is there a way to have more global variables without modifying that file? Something like mycompanyhome or companyhomeRome, companyhomeFlorence and so on…

Thanks in advance :D

Outcomes