• OKMSearch find in a specific path

  • 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.
 #10906  by rocabu
 
Hi there,
I am trying to make a search of documents inside OpenKM but using an specific path. I know OKMSearch.find would work but honestly I have no idea about how to use it. I saw here some links were the info is on the wiki section (which I can not get in obviously). Does anyone have a clear example where this kind of search was made?

I'm using this code, but got no results even knowing that there are documents that match my search.

queryParams Params = new queryParams();
Params.path = "/okm:root/pruebas";
Params.content = "test";

queryResult[] Result = searchService.find(token, Params);

Please if you could help me, I'll really appreciate it, I'm using C# .net

Cheers,
RC.
 #10909  by jllort
 
I suggest taking a look at project http://openkm.svn.sourceforge.net/viewv ... penKMCore/ where is the ms addins library I suggest take a look at DocumentLogic.cs http://openkm.svn.sourceforge.net/viewv ... ore/logic/

To search first must be authenticate etc...

I suggest take a look at ms word addin classes
http://openkm.svn.sourceforge.net/viewv ... WordAddIn/

I think it could be a good starting to you. After it you can go into searching on webservices, you must generate the classes.

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.