• Starting OpenKM with specific folder

  • We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
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.
 #3376  by jllort
 
It can be configured by each user. If you go to contextual menus - right click - you can set there the default home ( could be a document too ). OpenKM at starting will open all folders structure to final location.
 #3383  by jeppe
 
I was aiming at something more flexible. Say one time you want to start in folder A, and the next time to start in folder BB.
The exact folder depending on path/adress/... given in the URL. - Is this possible?

Folder A
-Folder AA
Folder B
-Folder BA
-Folder BB
 #3406  by jeppe
 
I have found the following in frontend/client/Main.java:
Code: Select all
	public void onModuleLoad() {

...

		loc = WindowUtils.getLocation();
		if (loc.getParameter(\"docPath\"  [file] )!=null && !loc.getParameter(\"docPath\" ).equals(\"\" )) {
			fldPath = loc.getParameter(\"docPath\" ).substring(0,loc.getParameter(\"docPath\" ).lastIndexOf(\"/\" )); 
			docPath = loc.getParameter(\"docPath\" ); 
		}
Based on this I tried to use URL like this:
http://localhost:8080/OpenKM/es.git.ope ... test_auto/

This logs on to OpenKM but it starts in the root and not /test_auto/. Any suggestions?
 #3407  by jllort
 
I think you must add some \"/\" in docPath something like \"/okm:root/\" etc.... not \"okm:root/\"
 #3420  by jllort
 
have you tried withouth authentication params , be authenticated and pass the params. To detect where\'s the problem.
 #45064  by jllort
 
Is not possilble, when is opened a folder, really navigates across all the hierarchical tree. After the node has been opened, you have a button in the toolbar what does it. For doing it automatically, should be passed an extra parameter for indicating the view what must be selected and make some modifications in the source code.

We can try to provide you the clues about what section in the source code should be modified.
 #45084  by Manikandarajans
 
jllort wrote: Wed Dec 13, 2017 10:38 pm Is not possilble, when is opened a folder, really navigates across all the hierarchical tree. After the node has been opened, you have a button in the toolbar what does it. For doing it automatically, should be passed an extra parameter for indicating the view what must be selected and make some modifications in the source code.

We can try to provide you the clues about what section in the source code should be modified.
Thanks for your reply, this information is more helpful
 #45090  by jllort
 
If you want to modify the source code, take a look this two classes Main.java and Toolbar.java. In the first you will see the variables captured and in the second there's the object menu what takes control on what is shown and what not.

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.