...
Code Block | ||
---|---|---|
| ||
<dashboard>
<name>system-status-dashboard</name>
<display>
<label>System Status Dashboard</label>
</display>
<widget>
...
</widget>
<widget>
...
</widget>
...
<visibility>hidden</visibility> </dashboard> |
...
!-- deprecated since 4.3, use configurableUserDashboard in adminGuiConfig instead -->
</dashboard> |
In 4.2 dashboards are shown automatically when defined. Since 4.3 there is a need for configuration to define which dashboards should be shown in the left (sidebar) menu. The configuration is show bellow:
Code Block | ||||
---|---|---|---|---|
| ||||
<adminGuiConfiguration>
....
<configurableUserDashboard>
<identifier>admin-dashboard</identifier>
<display>
<label>Admin dashboard</label>
</display>
<configurableDashboardRef oid="00000000-0000-0000-0001-000000000001" relation="org:default" type="c:DashboardType"/>
<visibility>visible</visibility>
</configurableUserDashboard>
</adminGuiConfiguration> |
The example above show how to configure dashboards to be shown in the left (sidebar) menu. Property display defines the name of the link which is shown in the menu. If it isn't defined, the display property of referenced DashboardType is used. Property configurableDashboardRef is used to reference specific DashboardType. If it isn't defined, midPoint ignores the whole configuration. For visibility settings, since 4.3 use visibility property in configurableUserDashboard instead of visibility in DashboardType.
We have two kinds of widgets, widget for objectCollection and widget for objectType.
Widget
Widget contains three basic variable.
...