Hi There,
We're using Nuxeo-DM 5.4.2(open source version) with an intention to replace our own bespoke document management system which is outdated in terms of functionality. We wish to transfer all the existing documents from the bespoke DM to Nuxeo-DM. And we've initially used PHP CMIS client to perform the migration of document.
Upon testing various options of PHP CMIS Client and PHP Automation Client we've found a problem. Basically, on our bespoke DM we have versions of documents. What we intend to do through remotely running script (either of the above mentioned clients) is upload a document on Nuxeo (which we can) and then update the same document with new'er content (which we could't coz what I learnt is, for that we need versioning/document checkout) instead of uploading new document for each version. I tried to checkout a document through PHP Automation Client (CMIS client doesn't have the method implemented yet) using following code.
where the value parameter is document's ID.
But the above code doesn't seem to be working. I'm not sure if I've written it correctly or not.
Can anyone please help and explain how I can update the content of an existing document remotely (preferably using PHP Script)?
Thanks in advance,