Page 1 of 1

how to use find By Statement

PostPosted:Fri Apr 08, 2011 9:25 pm
by ngsilva24
Hi everyone, i'm new in Openkm, and i need to search many documents by context in an especific folder from OpenKm.

I was using findByContent(String token, String words) from OkmSearch (web service), but it found all documents from all OpenKm and I need just from one folder, so i found the method findByStatement(String token, String statement, String type), but i dont know if that's what i need.

Please if somebody help me there?

Re: how to use find By Statement

PostPosted:Sat Apr 09, 2011 11:10 am
by jllort
FdingByContent only filter by content, nothing else, you might use findPaginated or find

Re: how to use find By Statement

PostPosted:Mon Apr 11, 2011 2:42 pm
by ngsilva24
Do you have some examples about that please?

Re: how to use find By Statement

PostPosted:Wed Apr 13, 2011 9:17 am
by pavila
In the wiki you can find sample code at http://wiki.openkm.com/index.php/PHP_client.