cancel
Showing results for 
Search instead for 
Did you mean: 

Renaming current space with script

patrick_brunner
Champ in-the-making
Champ in-the-making
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
3 REPLIES 3

camillo
Champ in-the-making
Champ in-the-making
I have the same problem  Smiley Sad
Can anybody help us, please?
thanks in advance

patrick_brunner
Champ in-the-making
Champ in-the-making
So far I didn't solved this issue. Hope somebody has an idea.

patrick

zomurn
Champ in-the-making
Champ in-the-making
Patrick, can you be me more precise please…