• WS Last modified Docs

  • 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.
 #28392  by michaeled
 
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.
 #28412  by jllort
 
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.

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.