Show/Hide Toolbars

Moves a document to a new parent folder.

Code Snippet

protected DocumentRepository documentRepository;

//the first parameter, documentUniqueKey, identifies an existing document to move

//the second parameter, newParentFolderUniqueKey, identifies the folder where the document will be moved

documentRepository.moveDocument("DOCU_1900", "DOCU_1024");