I am trying to upload a document to the OpenKM repo, but when using the setContent method I got an error saying: "cannot set property of a checked-in node".
This is my code:
byte[] localFile = readFile("C:\\test.txt"); //readFile method converts the file to a byte array
documentService.setContent(token, "/okm:root/Proposals System/Base Components/test.txt", localFile);
The file is already on that location, we just need to push a new version of the document.
Any idea of what's going on? Or any idea about how to upload a new version of an existent document?
Thanks in advanced.
This is my code:
byte[] localFile = readFile("C:\\test.txt"); //readFile method converts the file to a byte array
documentService.setContent(token, "/okm:root/Proposals System/Base Components/test.txt", localFile);
The file is already on that location, we just need to push a new version of the document.
Any idea of what's going on? Or any idea about how to upload a new version of an existent document?
Thanks in advanced.