AnsweredAssumed Answered

Script to versioning a content from space to other space

Question asked by ejml on Jul 20, 2006
Hello folks

How can I make a script which versioning a content when the name of this content match with other on the same space. Is it possible?

or, at least, remove the old content.

I tried this:

space.childByNamePath(document.name).remove()

But it remove the content that arrive to destination space not the content that just exist there.

P.D.: This is, because I move a content from folder to other folder with the same name, I have repeted the content  and I try to find a solution.

Thanks in advance

Outcomes