AnsweredAssumed Answered

Get current space from JavaScript via inherited rule

Question asked by chicco0386 on Sep 27, 2010
Latest reply on Sep 28, 2010 by savic.prvoslav
Hi all,
I've read in the Alfresco JavaScript wiki that the javaScript command "space" return the nodeRef of the space where the rule is defined, so if I've this schenario:
–> Folder (defined rule)
–> –> SubFolder (inherited rule)

and the script is execute in the "SubFolder" and I have the command "space" it refers correctly to the space "Folder", but I want a reference to "SubFolder".

Now, I ask you if there is a work-around for get the current space inside javaScript executed by an inherited rule.

CAN YOU HELP ME?

THANK YOU

Outcomes