Example of Dashboard report: Using policySituation for report

Last modified 16 Apr 2024 10:30 +02:00

Please see Dashboard configuration for basic information about configuration variables.

Example Use-case

The Administrator needs to display all users which have value of description set as 'Created by mP'

Configuration

At first, we need to configure a policy rule. In this Example we add the following snippet of configuration to our system configuration in Midpoint.

Example System Config configuration

Now, we have to recompute all users in order to set our policySituation for them, when they meet the criteria of our filter.

Afterwards We need to configure object collection for users with policySituation.

Example ObjectCollection configuration

When we have the object collection in place, we want to set up an import Dashboard object with a widget for our object collection.

Example Dashboard configuration

After the successful import of the dashboard object you can see the dashboard in the menu Dashboards > Users created by mP dashboard.

We want to report it out as a table of users created by Midpoint, for this we can use a dashboard report.

Example Dashboard Report Configuration

Now we can run the report in the report menu, open the task which generated the report and download the report.

Was this page helpful?
YES NO
Thanks for your feedback