As we transition to the new Hyland Community, some post links may be temporarily disrupted as we finalize redirects. We apologize for the inconvenience and are working to resolve this as quickly as possible. Details.
Hello,
A user can copy a folder document. As a standard is that it is done with children. In some cases this functionality is not necessary or some children should be copied and some others shouldn't.
How this kind of functionality can be done in nuxeo? Is there a flag or something else to mark a document or a document type which exclude these from coping?
Thanks
Adam
You should just create a new object with the content of the one to be copied, using DocumentModel.copyContent.
DocumentModel.copyContent