AnsweredAssumed Answered

Copy a node with childs

Question asked by spilby on Dec 17, 2014
Latest reply on Dec 18, 2014 by spilby

I need to copy a node and the childs to another folder that exists. The node contains other nodes and documents, and I need to copy all of them. But I have two questions.

1. I found the CopyService.copy and the FileFolderService.copy. What's the difference? Someone recommends me one or another? Maybe filefolderservice is only for documents?

2.  I only need to use one of these methods? The copy of the main node copy all the childs or I need to iterate? And copy all, the properties, the aspects, etc. Or I need to call other methods for a complete copy?

Thanks a lot!