Hi,
I'm trying to use OpenKM as DMS. Version of OpenKM is 6.3.6 (Community) and I use sdk4j-1.1 for java implementation.
I'm running some issues when I use find method (or any find methods in that matter) in my code as it always return null for document and folder.
Code is as follows:
Thanks!
I'm trying to use OpenKM as DMS. Version of OpenKM is 6.3.6 (Community) and I use sdk4j-1.1 for java implementation.
I'm running some issues when I use find method (or any find methods in that matter) in my code as it always return null for document and folder.
Code is as follows:
Code: Select all
When running the application, it will return the following output:
QueryParams qParams = new QueryParams();
qParams.setDomain(QueryParams.DOCUMENT | QueryParams.FOLDER);
Map<String, String> searchMap = new HashMap<>();
searchMap.put("okp:modal.customer", "Anna");
searchMap.put("okp:modal.product", "Payments");
searchMap.put("okp:modal.condition", "Recurring");
qParams.setProperties(searchMap);
for (QueryResult qr : ws.find(qParams)) {
System.out.println(qr);
}
Code: Select all
I recheck documentation and sdk4j is compatible with 6.3.6, result size is correct however I need the document which is I cannot use because it returns null. Appreciate if someone could point out what's wrong.{document=null, folder=null, excerpt=, score=87}
{document=null, folder=null, excerpt=, score=87}
Thanks!
Last edited by m.carlzy on Mon Feb 11, 2019 2:53 am, edited 1 time in total.