ami
ami

Reputation: 15

cmis addtofolder method do not create new cmisobjectid for target document for Alfresco repository

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

Answers (1)

saurav
saurav

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

Related Questions