Dashboards
Configuring Dashboards in Umbraco UI Builder.
Dashboards in Umbraco UI Builder provide an intuitive way to present important information and tools at the root of a section within the Umbraco backoffice. They serve as a starting point for users, offering quick access to relevant data, insights, or actions. Dashboards can be customized, reordered, and configured to display for specific user groups, making them a flexible tool for enhancing the backoffice experience. When multiple dashboards are available in a section, they appear in a tabbed layout for navigation.

Defining a Dashboard
You can define a dashboard by calling one of the AddDashboard methods on a SectionConfigBuilder or a WithSectionConfigBuilder instance.
Using the AddDashboard() Method
Adds a dashboard with the specified name.
Method Syntax
Example
Using the AddDashboardBefore() Method
Adds a dashboard with the specified name before the dashboard with the given alias.
Method Syntax
Example
Using the AddDashboardAfter() Method
Adds a dashboard with the specified name after the dashboard with the given alias.
Method Syntax
Example
Setting a Custom Dashboard Alias
Using the SetAlias() Method
Sets the alias of the dashboard. By default, an alias is automatically generated based on the supplied name. If a specific alias is required, the SetAlias method can be used to override the default.
Method Syntax
Example
Controlling Dashboard Visibility
Dashboard visibility can be controlled using ShowForUserGroup and HideForUserGroup, which specify which user groups can see the dashboard. These settings can be applied multiple times for different user roles.
By default, dashboards are pre-filtered to display only in their defined section. This filtering is combined with the SetVisibility method to control when a dashboard appears.
Using the SetVisibility() Method
Defines visibility rules for the dashboard.
Method Syntax
Example
Assigning a Collection to a Dashboard
A dashboard can display only one collection. To display multiple collections, multiple dashboards must be configured.
Using the SetCollection<>() Method
Assigns a collection to the dashboard with the specified names, descriptions, and default icons. The ID property must be defined. For more details, see the Collections article.
Method Syntax
Example
Using the SetCollection<>() Method with Custom Icons
Assigns a collection to the dashboard with the specified names, descriptions, and custom icons. The ID property must be defined. For more details, see the Collections article.
Method Syntax
Example
Last updated
Was this helpful?