Search found 8 matches

by m.carlzy
Thu Aug 22, 2019 12:45 am
Forum: Usage
Topic: Passing CAS credentials using SDK 1.1.
Replies: 3
Views: 746

Re: Passing CAS credentials using SDK 1.1.

Hello jllort, I also have the same query. Could you please confirm, is the current method for newinstance in webservice will not be able to accept any service ticket from CAS and will require some sdk changes: OKMWebservices ws= OKMWebservicesFactory.newInstance(host, user, password); I tried some c...
by m.carlzy
Mon Feb 11, 2019 2:54 am
Forum: Usage
Topic: SOLVED: find method returns null document/null folder
Replies: 12
Views: 1850

Re: SOLVED: find method returns null document/null folder

Hi jillort!
Thank you so much, after using SDK 1.2, my code is now working.
by m.carlzy
Wed Jan 30, 2019 11:00 am
Forum: Usage
Topic: SOLVED: find method returns null document/null folder
Replies: 12
Views: 1850

Re: find method returns null document/null folder

Hi jillort, Thank you, I tried your suggestion. First I tested it on OpenKM UI - Basic Search. Basic_Search.png As you can see above, there are results. So my assumption is that the same results will return by QueryResult with document details. I tried basic search similar above using below codes wi...
by m.carlzy
Mon Jan 28, 2019 12:13 pm
Forum: Usage
Topic: SOLVED: find method returns null document/null folder
Replies: 12
Views: 1850

Re: find method returns null document/null folder

Hi jllort, Sorry I'm quite struggling with this, when you say the result of your query are empty, what does it mean? do you mean I need to write an sql statement aside from this? (QueryResult qr : ws.find(qParams)) how can we process QueryResult? Is there a sample way aside from System.out.print(qr)...
by m.carlzy
Wed Jan 23, 2019 4:19 am
Forum: Usage
Topic: SOLVED: find method returns null document/null folder
Replies: 12
Views: 1850

Re: find method returns null document/null folder

Hi,
Attached again the file.
by m.carlzy
Tue Jan 22, 2019 9:35 am
Forum: Usage
Topic: SOLVED: find method returns null document/null folder
Replies: 12
Views: 1850

Re: find method returns null document/null folder

Hi lnovoa, I got some incorrect lines on my code, it should be only: Document document = qr.getDocument(); The idea is that once I got the Query Result, I would like to get the information of each so I could use it on my application, something like: for (QueryResult qr : ws.find(qParams)) { Document...
by m.carlzy
Mon Jan 21, 2019 2:28 pm
Forum: Usage
Topic: SOLVED: find method returns null document/null folder
Replies: 12
Views: 1850

Re: find method returns null document/null folder

Hello Inovoa, Here's my code: package com.dms.openkm; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; import com.openkm.sdk4j.OKMWebservices; import com.openkm.sdk4j.OKMWebservicesFactory; import com.openkm.sdk4j.bean.Docume...
by m.carlzy
Sat Jan 19, 2019 8:44 pm
Forum: Usage
Topic: SOLVED: find method returns null document/null folder
Replies: 12
Views: 1850

SOLVED: find method returns null document/null folder

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: QueryParams qP...