Sections
Configuring and customizing sections in Umbraco UI Builder to organize and manage the backoffice interface effectively.
Last updated
Was this helpful?
Configuring and customizing sections in Umbraco UI Builder to organize and manage the backoffice interface effectively.
Last updated
Was this helpful?
A section in Umbraco represents a distinct area within the backoffice, such as content, media, and so on. Sections are accessible via links in the main menu at the top of the Umbraco interface. Using Umbraco UI Builder, multiple sections can be defined to organize the management of models logically.
Sections are defined using the AddSection
method on the root-level UIBuilderConfigBuilder
instance.
AddSection()
MethodThis method adds a new section to the Umbraco menu with the specified name, allowing custom areas for organizing content in the backoffice.
AddSectionBefore()
MethodThis method adds a section before another section with the specified alias, allowing for customized ordering of sections in the backoffice.
AddSectionAfter()
MethodThis method adds a section after another section with the specified alias, allowing for a custom order of sections in the backoffice.
SetAlias()
MethodThis method sets a custom alias for the section.
Optional: By default, an alias is automatically generated from the section's name. To customize the alias, the SetAlias()
method can be used.
Tree()
Method for ConfigurationThis method configures the tree structure for the section, which is used to organize content types. For more information, see the Trees article.
AddDashboard()
MethodThis method adds a dashboard to the section with the specified alias, providing tools and features for content management. For more information, see the Dashboards article.
AddDashboardBefore()
to Place a DashboardThis method adds a dashboard before another dashboard with the specified alias, allowing custom placement in the section. For more information, see the Dashboards article.
AddDashboardAfter()
to Place a DashboardThis method adds a dashboard after another dashboard with the specified alias, giving control over dashboard order. For more information, see the Dashboards article.
You can extend existing sections by adding Umbraco UI Builder trees and dashboards, context apps, and virtual subtrees. This can be done by calling the WithSection
method on the root-level UIBuilderConfigBuilder
instance.
WithSection()
This method extends an existing section with additional configuration, enabling more customization for existing areas.
AddTree()
MethodThis method adds a tree to the section, helping to visualize and organize content types. For more information, see the Trees article.
AddTree()
MethodThis method adds a tree within a specified group, improving content organization by grouping related trees together. For more information, see the Trees article.
AddTreeBefore()
to Position a TreeThis method adds a tree before another tree within the section, allowing you to customize the tree order. For more information, see the Trees article.
AddTreeAfter()
to Position a TreeThis method adds a tree after another tree within the section, enabling specific ordering of trees. For more information, see the Trees article.
AddDashboard()
MethodThis method adds a new dashboard to the section with the specified name. For more information, see the Dashboards article.
AddDashboardBefore()
MethodThis method adds a dashboard before the dashboard with the specified alias. For more information, see the Dashboards article.
AddDashboardAfter()
MethodThis method adds a dashboard after the dashboard with the specified alias. For more information, see the Dashboards article.