cancel
Showing results for 
Search instead for 
Did you mean: 

How to prevent a folder from copying children

adam_bo_
Star Contributor
Star Contributor

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

1 REPLY 1

Florent_Guillau
World-Class Innovator
World-Class Innovator

You should just create a new object with the content of the one to be copied, using DocumentModel.copyContent.

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.