AnsweredAssumed Answered

How to get path from current space?

Question asked by gistolero on Dec 18, 2007
Latest reply on Sep 26, 2014 by kevinr

I want to write a custom javascript rule, that creates a folder in the _current_ space (only if this folder doesn't exist) and moves the new/updated document to this space if mimetyp is 'foo'.

How I get the path from _current_ space? The root object 'space' points to the space that the rule resides in. Thats not what I want, because the rule should be inherited for sub folders.