Dashboards
Configuring dashboards in Konstrukt, the back office UI builder for Umbraco.
Last updated
Configuring dashboards in Konstrukt, the back office UI builder for Umbraco.
Last updated
A dashboard is a view that is displayed at the root of a section and usually contains welcome information and/or useful tools relevant to the given section. When there are multiple dashboards to display in a section these are usually presented in a tabbed layout to allow you to swich between the different dashboard views.
You define a dashboard by calling one of the AddDashboard
methods on either a KonstruktSectionConfigBuilder
or a KonstruktWithSectionConfigBuilder
instance.
Adds a dashboard with the given name.
Adds a dashboard with the given name before the dashboard with the given alias.
Adds a dashboard with the given name after the dashboard with the given alias.
Sets the alias of the dashboard.
Optional: When adding a new dashboard, an alias is automatically generated from the supplied name for you, however you can use the SetAlias
method to override this should you need a specific alias.
Changing when a dashboard is displayed is controlled via an inner config. Options on the inner config are ShowForUserGroup
and HideForUserGroup
to control the visibility of the dashboard for given user groups. You can call these config methods multiple times to add multiple role configurations.
By default, Konstrukt will pre-filter dashboards to only display on the section it is defined in. This will be combined with the SetVisibility
config to decide when to display the dashboard.
Sets the dashboard visibility config.
Dashboards are only able to display a single collection. If you need to display multiple collections, then you need to configure multiple dashboards.
Sets the collection of the current dashboard with the given names and description and default icons. An ID property accessor expression is required so that Konstrukt knows which property is the ID property. See the Collections documentation for more info.
Sets the collection of the current dashboard with the given names, description and icons. An ID property accessor expression is required so that Konstrukt knows which property is the ID property. See the Collections documentation for more info.