This article describes how Smart ID Identity Manager uses JasperReports to generate reports.
JasperReports is developed by Jaspersoft. The reports are created based on templates, that are created and modified in TIBCO Jaspersoft® Studio. It produces a .jrxml file, which stores all layout information. The .jrxml file represents the report template and is stored in the file system. JasperReports fills the template with data from a data source. The user uploads the report template in Identity Manager Admin.
...
Expand | ||
---|---|---|
| ||
|
Work flow
Expand | ||
---|---|---|
| ||
JasperReports is a Java open source tool for generating reports for several file formats, such as PDF, HTML, XML, XLS and CSV. JasperReport uses its own XML-dialect (jrxml) for the report definition. The printable report will be generated using the jrxml file together with data from the Identity Manager database. For more information, go to https://www.jaspersoft.com/. The preparation phase
Work flow:
The execution phase
To print the search results:
To print from a form within a process:
|
...
Expand | ||
---|---|---|
| ||
In Jaspersoft Studio you can either design a report definition from scratch or open one of the predefined reports delivered with Identity Manager to adjust the layout as needed. If you create a new dynamic report, only templates for the the first column, the header and filter parameters are defined and the actual number of needed result columns is generated during runtime according to the specifications of the search configuration. Be careful to use the exact names as described here, because Identity Manager will use them to generate the report automatically. To create the report definition in Jaspersoft Studio, do the following:
The names of the template fields must be:
The base elements of this generic report must be:
Refer to the documentation of Jaspersoft Studio for the details on report design. To modify the predefined report definition, do the following:
|
...
Expand | ||
---|---|---|
| ||
In Jaspersoft Studio you can either design a report definition from scratch or open one of the predefined reports delivered with Identity Manager to adjust the layout as needed. In a static report definition the columns are not generated by Identity Manager as in the dynamic report, but taken as they are defined in the definition file. All fields are referenced by the name, so this will provide more flexibility according to report design. The disadvantage is that the report design only fits for search configurations that deal with the same fields as in the report. For example, if the report is based on person data, it only fits for search configurations for persons. To create the report definition in Jaspersoft Studio, do the following:
Example: The report definition contains three fields: Additionally a page number should be added to the report: Refer to the documentation of Jaspersoft Studio for the details on report design. To modify the predefined report definition, do the following:
|
...
Expand | ||
---|---|---|
| ||
In the dynamic report, grouping can only be done by the first column of the search configuration's result columns. The structure of the report is the same as described in the section "Set up dynamic report definition", except that grouping is added.
|
Expand | ||
---|---|---|
| ||
With a static report template it is possible to select any column for grouping without changing the order sequence of the search configuration. This can be done because in a static report all fields are referenced by the name, and this provides more flexibility according to report design. The disadvantage is that the report design only fits for search configurations that deal with the same fields as in the report. For example if the report is based on person data, it only fits for search configurations for persons. The structure of the report is the same as described in the section "Set up static report definition", except that the grouping was added. |
...
- Smart ID Identity Manager
- Identity Manager Admin
- Identity Manager OperatorIdentity Manager requirements
- IDM 23.10.3 - Requirements and interoperability
- Set up search configuration in Identity Manager
- Set up form in Identity Manager
- Set up report template in Identity Manager
...