We are trying to migrate files from network drive using Java SDK and we want to create a new document for a file which already exist, right now we get duplicate file error. We want LF to create a new file if duplicate exists. For example if there is a file "New Document.docx" then when after updating we copy again it should become "New Document[1].docx". How we can achieve this? Is this a property that can be set in Laserfiche to create a new copy in case of duplicate or do we have to explicility code for it?
Question
Question
copying over duplicate document
asked on December 18, 2015
0
0
Replies
replied on December 18, 2015
The Laserfiche server should be able to handle this, and the function you are calling should have an "autorename" argument to choose between appending a number and failing because the name is taken. Can you post the code you're using?
0
0
replied on December 18, 2015
Thanks a ton, it worked, we could set the enum to readonly. thanks again for the quick reply, much appreciated.
0
0
You are not allowed to follow up in this post.