• Migration from OKM 5.1.9 to OKM 6.2.4

  • OpenKM has many interesting features, but requires some configuration process to show its full potential.
OpenKM has many interesting features, but requires some configuration process to show its full potential.
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.
 #26226  by akv2502
 
I have trying to migrate from OKM 5.1.9 to OKM 6.2.4
Earlier one uses jboss server whereas the new one uses tomcat, hence there are changes that I am unable to perform.

Can someone help me to configure on the newer version.
I need to find the place where I can write :
1) login-config.xml
2) openkm-ds.xml

Is there a migration document available for migrating from 5.x to 6.x. I couldn't find the correct documents in the migration doc url.
 #27106  by akv2502
 
Thanks for the reply. Now I have migrated to 6.2.5.
I am having problems using the OKMSearch service. I am using custom metadata for the documents in openkm. And I need to do a search something like this (earlier done using below xpath query):
Code: Select all
/jcr:root/okm:root//element(*,okm:document)[jcr:like(@okp:apple.userId,'%13784530961330001%')] order by @okm:name ascending
where apple.userId is the custom propertygroup and userId is the custom metadata. How can I write a Search query in order to get the document using the above details in openkm 6.2.5

If I need to use the OKMSearch.find(...) method I need to pass the queryparams. How do I set the above parameters in the queryparams ?
Also if there is an alternate way to do the search please let me know. If there are any links available to migrate the xpath queries, please send us the links.

If I need to do OR operation using QueryParams, how can we do it ?
Also , how do I sort my results thus obtained ?
 #27222  by jllort
 
search by xpath is not supported in version 6.X, please for questions with no relation with migration ( that's has other subject ) add different post, otherside we will generate confusion in other forum readers;

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.