Does OpenKM support storing files to different physical locations?

We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
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
maniachhz
Fresh Boarder
Fresh Boarder
Posts: 9
Joined: Wed Mar 08, 2017 4:30 pm

Does OpenKM support storing files to different physical locations?

Post by maniachhz » Sun Mar 12, 2017 6:50 am

Hi,

There are several directories on the OpenKM server, such as below:
2017-03-12_143521.png
2017-03-12_143521.png (10.33 KiB) Viewed 188 times
Board - For a temporary storage of some documents, these documents are not important.
Licenses - For permanently save documents.
Software - For permanently save documents.

So, i want to store the documents in directory Licenses and Software to another physical locations different with Board.

Does the OpenKM support? How can i do for this?

Thanks.

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

Re: Does OpenKM support storing files to different physical locations?

Post by jllort » Sun Mar 12, 2017 7:04 pm

Can be done but you should do minor modification in the openkm class involved in disk storage. Really is not much complicated. Basically we concentrate all the storage logic in a single class what save data at $REPOSITORY/datastore path, and we have some experimental class what stores data in a amazon S3. That means based in default data storage you can build your own and save data whatever you want. If you want to work on it I can guide about the classes you should modify and the development environment for it. Before starting take in mind you need minimal JAVA skills for doing it.

maniachhz
Fresh Boarder
Fresh Boarder
Posts: 9
Joined: Wed Mar 08, 2017 4:30 pm

Re: Does OpenKM support storing files to different physical locations?

Post by maniachhz » Mon Mar 13, 2017 1:02 am

jllort wrote: If you want to work on it I can guide about the classes you should modify and the development environment for it.
Ok, I will try. Please help.

Thanks.

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

Re: Does OpenKM support storing files to different physical locations?

Post by jllort » Tue Mar 14, 2017 7:42 pm

Take a look at https://github.com/openkm/document-mana ... Store.java

You should apply changes there.

maniachhz
Fresh Boarder
Fresh Boarder
Posts: 9
Joined: Wed Mar 08, 2017 4:30 pm

Re: Does OpenKM support storing files to different physical locations?

Post by maniachhz » Thu Mar 16, 2017 3:06 pm

jllort wrote:Take a look at https://github.com/openkm/document-mana ... Store.java

You should apply changes there.
Ok. I will take a look.

Thanks.

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

Re: Does OpenKM support storing files to different physical locations?

Post by jllort » Fri Mar 17, 2017 9:23 am

If you finally decide for creating a new datastore, share with us and we will evaluate if can be included in master branch.

Please work with the code in github https://github.com/openkm/document-management-system we have moved several days ago, and you can consider it the official code at the present ( we will no longer publish code at sourceforge ).

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests