• Find a Folder

  • Do you want to create a native client or integrate with third party applications: webservices are the solution.
Do you want to create a native client or integrate with third party applications: webservices are the solution.
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.
 #9361  by nils petersohn
 
hello,
i try to find a folder via the OKMSearchProxy

when i use the method findByName(folderName) i don't get any results. when i search via the web console i also get no results.
when i check the type "folder" in the webconsole one correct result is found.
I thought that i should use some query param to search for folders not for documents (the default type).
but in the query params there is no field: "type" ?

the possible fields are in the attachment picture.
how can i search for folders very easy? with:
Code: Select all
QueryResult[] find(String token, QueryParams params)
the query params are very clear but i am missing the "type" where i can set to folder:
see attachment
Attachments
Screen shot 2011-03-08 at 12.30.35 AM.png
Screen shot 2011-03-08 at 12.30.35 AM.png (40.74 KiB) Viewed 3133 times
 #9381  by pavila
 
OKMSearch.findByName() only works for documents.

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.