Reputation: 15
When using method document.addToFolder(targetFolder, true); this is ok
when I delete the source document, target document is also deleted
does it's right behaviour ???
Upvotes: 0
Views: 72
Reputation: 5946
Yes...because the method addToFolder is used in multi filing scenario.
and multi filing keeps references not copy of the objects.
check here http://docs.oasis-open.org/cmis/CMIS/v1.1/errata01/os/CMIS-v1.1-errata01-os-complete.html#x1-3050005
Upvotes: 1