WS Last modified Docs

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.
Post Reply
michaeled
Expert Boarder
Expert Boarder
Posts: 101
Joined: Mon Apr 23, 2012 9:37 am

WS Last modified Docs

Post by michaeled » Wed Apr 23, 2014 9:45 am

Hi,

I'd like to show the five last modified documents (who the user have read permission), I don't know how to do that with the Complex search (without retrieving all the documents).

What functions are to be used to do something like that ?

Thanks for your help,

Michael.

jllort
Moderator
Moderator
Posts: 10672
Joined: Fri Dec 21, 2007 11:23 am
Location: Sineu - ( Illes Balears ) - Spain
Contact:

Re: WS Last modified Docs

Post by jllort » Thu Apr 24, 2014 3:16 pm

In Dashboard there're some methods to get user last modified documents, but these methods only consider logged user:

Code: Select all

for (DashboardDocumentResult documentResult : OKMDashboard.getInstance().getUserLastModifiedDocuments(null)) {
    GWTDashboardDocumentResult documentResultClient = GWTUtil.copy(documentResult);
    lastModifiedList.add(documentResultClient);
}
Useful links:
http://wiki.openkm.com/index.php/Scripting_-_OpenKM_6.2
http://doxygen.openkm.com/openkm/d5/d71 ... board.html

We will need more information about it, explain the scenario and we will suggest something with more detail.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests