Page 1 of 1

Manually setting the modification date

PostPosted:Tue Feb 26, 2013 7:01 pm
by dip
Is it possible to set the modification date of a document manually (to any date)?

When I add a document into OpenKM (e.g. a scanned invoice or letter) I usually want to store the real date of the document (I mean the date which is printed on the paper version of this document). I have added a property group with a "Document Date" field but since this is the only additional field I need it seems a little bit too much to use a property group for this. And since the property group uses an own tab I have always to switch to this tab if I want to see the Document Date. It would be much easier if the Modification Date which is shown on the main tab could be used for this.

And in addition, in the explorer view (I mean the the document list) I can sort the documents by modification date but not by the Document Date which I have defined in the property group. Since I want to sort the documents by their "real" date (the date which is printed on the paper version) the modification date field would be ideal for this.

Is this possible?

Re: Manually setting the modification date

PostPosted:Fri Mar 01, 2013 10:30 pm
by jllort
In professional version can be shown metadata in explorer view. In other hand you can import document with real date using Remote importer at http://wiki.openkm.com/index.php/Utilities ( this feature I think actually is only present at professional edition too ).

Re: Manually setting the modification date

PostPosted:Sun Mar 03, 2013 6:51 pm
by dip
I asked via e-mail for the price of the professional version for privat use for a single computer/user. The answer was License,implementation and first year support: 2.050$! I only want to scan my privat invoices, letters and so and thought of 50$ or so :)
So the professional version is obviously no option.

Is it possible to set the modification date of a document using scripting?

Re: Manually setting the modification date

PostPosted:Mon Mar 04, 2013 6:10 pm
by jllort
If you want to make yourself consider there's no method in api to change date directly ( because this kind of feature is outside normal logic ). You can do it via some jdbc call to database and change there. With scripting can do want to wish, make jdbc calls etc...