AnsweredAssumed Answered

Renaming current space with script

Question asked by patrick.brunner on Apr 2, 2009
Latest reply on Apr 23, 2009 by zomurn
Dear Alfresco Developers

When I create a new space I try to change the name of the this space. I want to do this by a rule.

I tried this:

space.name = space.name + " 20090401";
space.save();

This way it is always renaming the space where the rule is defined, also when I insert a sub Space it is always renaming the parent folder. Is there an way to get the current space?

Many thanks for your answers or hints.

Patrick

Outcomes