Hello,
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.
Thanks
Simon