Auditing on Exporting, Printing, and Saving of Reports
You can make use of the two callback APIs - jet.bean.ReportCallback and jet.bean.CallbackInfo - to get the event and user information when a user export, print, or save a report in Logi Report Designer. The information includes the event (Export, Print, or Save), the time when the event occurs, the report ID, the user name who performs the operation, the parameters and values that are used to run the report if there are any, and the file name that the report is exported to or saved to. This topic describes how to implement the APIs to audit the Export, Print, and Save operations on reports.
- Write a class, for instance, com.yourcompany.callback.CustomCallback, to implement the callback interface jet.bean.ReportCallback.
- Put the class into the
<install_root>\libdirectory of Logi Report Designer.
- Apply the class by adding the following JVM system property in the Logi Report startup file, JReport.bat/JReport.sh, which is stored in
- Logi Report will call your implementation right after a user export, print, or save a report in Logi Report and pass the information related to the operation to you.