Creating document with New Version

Do you want to create a native client or integrate with third party applications: webservices are the solution.
Forum rules
Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
Post Reply
Jahangir
Fresh Boarder
Fresh Boarder
Posts: 15
Joined: Tue Sep 22, 2015 12:37 pm

Creating document with New Version

Post by Jahangir » Thu Oct 29, 2015 11:49 am

Hi,
I want to create document with existing name but with different version in same folder.
Is there any way i can achieve this using REST web Services?. Currently when i try to add document with same name it is throwing exception.
ItemExistsException:

jllort
Moderator
Moderator
Posts: 9643
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: Creating document with New Version

Post by jllort » Fri Oct 30, 2015 7:05 pm

Can not be created a document ( node ) with same name on same location. Basically there are two unique identifiers for each node, the UUID and the path. Same document in same folder will have the same path, that's why you get ItemExists exception. Can create with other name or update existing.

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest