AnsweredAssumed Answered

Accessing variables in in YUI/FTL

Question asked by smiller on Jul 9, 2012
Latest reply on Jul 11, 2012 by afaust
(Alfresco version 3.4.8 )

How do I go about accessing properties in within YUI js files or Freemarker FTL files?
I have a set of custom variables, and have extended the javascript api to give me my own custom object, with several methods that extend the object.  So for instance:


When called from the javascript console in share (or in webscripts) would return the value of property set in  The problem is I am uncertain of how I would access this custom "myapp" object from within YUI or Freemarker.  Is it even necessary to have these custom javascript calls, when there may already be a method available to call for properties in