AnsweredAssumed Answered

Root scope objects inside Javascript Debugger

Question asked by acarpine on Apr 16, 2012
Latest reply on Apr 19, 2012 by acarpine
How can I use the root scope objects inside the Alfresco Javascript Debugger (available at http://[hostname]:[port]/share/page/api/javascript/debugger)?

http://wiki.alfresco.com/wiki/4.0_JavaScript_API#Scripting_API reports:
The Alfresco JavaScript API provides a rich set of scriptable Java objects that are available to the script writer. Many "root" scope objects (see below) are provided by default, such as access to the user home folder, company home folder, WCM Web Projects, search, People API…
but although I am able to use the root scope objects executing a script inside Alfresco, just using it direclty
groups.getGroup(groupName);
I can't figure out how to use/import that objects in a script tested with the Debugger.

tks

Outcomes