Page 1 of 1

Document Versions

PostPosted:Tue Sep 20, 2016 1:51 am
by juansta
I have successfully installed and I am currently hosting a local tomcat server running behind apache2... This is great.

Im now wanting to update the repository from our existing document controls. I would like to ideally start fresh from OpenKM (not worry about document histories) but would like to maintain the same document revision numbers.

Is there a way, say with the initial upload) to set the revision number? For example, our current revision for a document it 4.2. I would like OpenKM to start revision number from there for this document. Another is 3.2, and so on...

Currently it seems revision numbering is 'read-only'?

I dont mind using a 'back-door' this one time for initial configuration... But I just cant find it...

Re: Document Versions

PostPosted:Fri Sep 23, 2016 8:01 am
by jllort
here have two options:
1- create .okm ( it's a json file ) ( can check export and import )
2- update the database directly after importing ( if you have unique names or based in path can find the documents quickly ).
Take a look at column named NDV_NAME in table OKM_NODE_DOCUMENT_VERSION
Code: Select all
SELECT * FROM OKM_NODE_DOCUMENT_VERSION limit 10;