cancel
Showing results for 
Search instead for 
Did you mean: 

Rename with CML

macros
Champ in-the-making
Champ in-the-making
Is it possible to rename a space/file with CML?
Its easy enough to rename the properties to update the name, but is it possible to update the node identifier?

In other words, if I had a file called space called TEST it would look like this in node browser:
{http://www.alfresco.org/model/content/1.0}TEST

If I were to rename it to say TEST2 could I get it to look like this in node browser:
{http://www.alfresco.org/model/content/1.0}TEST2
without having it change the node-uuid? (so no move / recreate child associations etc.)

Macros
2 REPLIES 2

vsuarez
Champ in-the-making
Champ in-the-making
it is possible with the CML move operation, but I don't know if the UUID is preserved after moving. I will test it.

vsuarez
Champ in-the-making
Champ in-the-making
I can confirm that UUID is preserved if you call to "move" action.