Reports pack

Most of these reports are based on Activity log events audit trail.

For more information Activity log.

Template reports

NameUse Activity logRequire parametersDescription
JavaReportPattern.jrxml 

No.

No.

Template pattern that use Java to retrieve data.

SQLReportPattern.jrxml

No.

No.

Template pattern that use SQL to retrieve data.

subreport-sample.rep 

No.

No.

Subreport sample.

Support for subreports is available starting from version 8.1.15.

Authentication

NameUse Activity logRequire parametersDescription
UsersLogin.rep

Yes.

Yes.

Users login, filtered by date range.

UsersLogout.rep

Yes.

Yes.

Users logout, filtered by date range.

UsersSessionExpiration.rep

Yes.

Yes.

Users that session expired, filtered by date range.

Documents

NameUse Activity logRequire parametersDescription

DocumentCanceledCheckout.rep

Yes.

Yes.

Lists documents that cancelled the edition, filtered by date range.

DocumentCheckin.rep

Yes.

Yes.

List documents updated, filtered by date range.

DocumentCheckout.rep

Yes.

Yes.

List documents on edition, filtered by date range.

DocumentCreate.rep

Yes.

Yes.

List documents created, filtered by date range.

DocumentDelete.rep

Yes.

Yes.

List documents deleted, filtered by date range.

DocumentGetChildren.rep

Yes.

Yes.

Show when the users listed the documents into some folder or record. Results are filtered by date range.

To list documents into a folder is called internally method named "getChildren".

DocumentContent.rep

Yes.

Yes.

Show when the users retrieved the content of a document. Results are filtered by date range.

For example, when a user download or preview a document ( among other actions ) is retrieving the content of the document.

DocumentContentByVersion.rep

Yes.

Yes.

Show when the users retrieved a specific version of the content of a document. Results are filtered by date range.

DocumentGetProperties.rep

Yes.

Yes.

Show when user retrieved the properties of a document. Results are filtered by date range.

For example, when document is selected, is called internally a method named "getProperties" to fill the contents of properties tab in user interface.

DocumentGetVersionHistory.rep

Yes.

Yes.

Shown when the users retrieved the list of all versions of a document. Results are filtered by date range.

DocumentGetPropertyGroupProperties.rep

Yes.

Yes.

List when has been retrieved the fields of a metadata group.

For example, when a metadata group is shown in users interface, is called internally a method named "getPropertyGroupProperties" to fill the metadata group values.

DocumentLock.rep

Yes.

Yes.

List documents updated, filtered by date range.

DocumentMove.rep

Yes.

Yes.

List documents moved, filtered by date range.

DocumentPurge.rep

Yes.

Yes.

List documents purged, filtered by date range.

When a document is purged it will definitively disappear from application repository.

DocumentRenamed.rep

Yes.

Yes.

List documents renamed, filtered by date range.

DocumentUnlock.rep

Yes.

Yes.

List documents unlocked, filtered by date range.

DocumentsAccessibleByUserOrdered.jrxml

No.

No.

Retrieve a list of available documents - security filtered - ordered by folder name.

Optimized for csv format.

Not recommended for large repositories, can take a lot of time.

DuplicatedFiles-v-7.1.23.jrxml   No. No.

This report only can be used for version 7.1.23 or higher.

List of duplicated files into application repository, based on document checksum.

DuplicatedFiles.jrxml

No.

No.

This report only can be used for version 7.1.22 or lower.

List of duplicated files into application repository, based on document checksum.

ListDocumentsWithChecksum.rep 

No.

Yes.

List of all documents into some folders and subfolders with checksum value.

Folders

NameUse Activity logRequire parametersDescription

FolderCopy.rep

Yes.

Yes.

List folders copyed, filtered by date range.

FolderCreate.rep

Yes.

Yes.

List folders created, filtered by date range.

FolderDelete.rep

Yes.

Yes.

List folders deleted, filtered by date range.

FolderGetChilden.rep

Yes.

Yes.

Show when the users listed the folders into some folder or record. Results are filtered by date range.

To list folders into a folder is called internally method named "getChildren".

FolderGetContentInfo.rep

Yes.

Yes.

Shown when the internal method named "getContentInfo" has been executed.

To do some operations is needed to calculate folder deep, for example before starting folder ZIP download.

There's an internal method named "getCotentInfo" that does it.

FolderGetProperties.rep

Yes.

Yes.

Show when user retrieved the properties of a folder. Results are filtered by date range.

For example, when folder is selected, is called internally a method named "getProperties" to fill the contents of properties tab in user interface.

FolderMove.rep

Yes.

Yes.

List folders moved, filtered by date range.

FolderPurge.rep

Yes.

Yes.

List folders purged, filtered by date range.

When a folder is purged it will definitively disappear from application repository.

FolderRename.rep

Yes.

Yes.

List folders renamed, filtered by date range.

FolderSecurity.rep

No.

Yes.

List folders and subfolders showing security regarding roles and/or users.

FolderGetSize.rep

No.

Yes.

List folders and subfolders showing the size of each one.

Mails

NameUse Activity logRequire parametersDescription

MailCreate.rep 

Yes.

Yes.

List mails created, filtered by date range.

MailGetProperties.rep

Yes.

Yes.

Shown when a user retrieved the properties of a mail. Results are filtered by date range.

For example, when mail is selected, is called internally a method named "getProperties" to fill the contents of properties tab in user interface.

MailPurge.rep

Yes.

Yes.

List mails purged, filtered by date range.

When a mail is purged it will definitively disappear from application repository.

MailRename.rep

Yes.

Yes.

List mails renamed, filtered by date range.

MailMove.rep

Yes.

Yes.

List mails moved, filtered by date range.

MailCopy.rep

Yes.

Yes.

List mails copyed, filtered by date range.

MailGetChilden.rep

Yes.

Yes.

Show when the users listed the mails into some folder or record. Results are filtered by date range.

To list mails into a folder is called internally method named "getChildren".

Others

NameUse Activity logRequire parametersDescription

TenantUserQuota.jrxml

No.

No.

Document size (in MB) by user and tenant.

WorkflowWorkload.jrxml

No.

No.

Each workflow task with the time spent on it.

RegisteredUsers.jrxml

No.

No.

Registered users.

Subreports

Restrictions:

  • The name of the subreport must always start with "subreport-", for example, subreport-roles.jrxml.

  • In the main report, you must create a parameter with the same name as the subreport (without the extension). For example, if the subreport is named subreport-roles.jrxml, the parameter should be named subreport-roles, and the associated class should be net.sf.jasperreports.engine.JasperReport.

  • The expression in the subreport must correspond to the value of the created parameter. Following the example from the previous point, it should be $P{subreport-roles}.

  • Both reports must share the same database connection.

XML sections sample

In the main JRXML, define the subreport parameter:

<parameter name="subreport-roles" class="net.sf.jasperreports.engine.JasperReport"/>

Then in the subreport element, use the parameter reference:

<subreport>
    <reportElement x="0" y="0" width="200" height="100"/>
    <subreportExpression><![CDATA[$P{subreport-roles}]]></subreportExpression>
</subreport>

The key points are:

  • The parameter name must match the filename without the extension used in the REP ( ZIP file )
  • Parameter type must be JasperReport.
  • Use $P{parameter-name} in subreportExpression.
  • Remove any file path references from subreportExpression.

How it works in the background:

  • The OpenKM core loads the subreport from the REP ( ZIP file)
  • Adds it to the params map with the correct name
  • JasperReports finds it via parameter reference instead of file path

Screenshots

Subreport parameter

Subreport expression

Suggestions during development

The dynamic configuration of subreports through parameters will work once the report is deployed in OpenKM, but it will not work in the Jasper Studio application. On the other hand, configuring subreports with file system paths will work in Jasper Studio but will likely not work in OpenKM (we do not recommend using paths).

During development, you will likely want to test the report from the Jasper Studio application before deploying it to production. For this reason, we recommend setting the report path directly (file system path) during this phase of development, and once completed, modify it to use dynamic access via the parameter mentioned earlier.