Section Sidebar
Use Section Sidebar extensions to add navigation, coordinate Section Views, and provide additional functionality inside Section extensions.
Section extensions can add a Section Sidebar to add navigation, coordinate subviews such as Section View extensions, and provide Section-wide functionality.
Section Sidebar extensions are optional; if not defined, the Section extension defaults to a single full-screen subview.
Manifest Properties
The sectionSidebarApp manifest supports the following properties:
type
string
Yes
Must be sectionSidebarApp.
alias
string
Yes
A unique identifier for this extension.
name
string
Yes
A human-readable name shown in Extension Insights.
weight
number
No
Controls the display order when multiple sidebar apps are registered in the same section. Higher values display higher in the sidebar.
element
string
No
Path to a custom web component file.
elementName
string
No
The custom element tag name (if not a default export).
meta
object
No
Additional configuration depending on the kind used.
overwrites
string | string[]
No
Alias(es) of extensions this manifest replaces.
For the full TypeScript interface, see ManifestSectionSidebarApp in the API documentation.
For a general overview of manifest properties shared across all extension types, see Extension Manifest Introduction.
Section Sidebar Apps
Section Sidebar extensions can be composed of one or more section sidebar apps. Extension authors can include common Umbraco types, such as menus and trees, or create custom sidebar apps using web components.
Custom Sidebar App Example
Section Sidebar extension authors can place any custom web component into the sidebar. Extension authors will need to supply the element property with the path of their custom web component. Specify the full path, starting from the Umbraco project root.
Sidebar Section extension authors may specify where the Section Sidebar app appears using extension conditions.
Umb.Condition.SectionAlias is a built-in condition type provided by Umbraco. You must use the exact alias string. Refer to the Extension Conditions documentation for the complete list of available conditions and their parameters.
Menu Sidebar App Examples
The menu sidebar app, provided by Umbraco, can be placed in Section Sidebar extensions. It attaches to a menu defined in your manifest via the meta:menu property, where this value must match the alias value of the menu.
Umbraco also provides a menuWithEntityActions kind, which extends the menu kind to automatically surface registered Entity Actions for items in the menu. Use this kind when your menu items represent entities that have actions (such as create, delete, or move).
In the example below, a menu extension is created and bound to the meta:menu (My.Menu) property, which matches the menu extension’s alias. The My.Menu alias is also used to attach a menu item extension.
For more information, see the documentation for the menus extension.
Coordinating subviews with menu items
Menu sidebar apps can coordinate navigation between subviews in the section extension by referencing workspace extensions. Modify the menu item extension to include the meta:entityType property, and assign it the same value as a workspace view extension's own meta:entityType property.
These should be registered via a Backoffice Entry Point.
Menu items and workspaces are linked by matching entityType values.
Adding items to an existing menu
Authors can add their extensions to the sidebar of any Umbraco-provided section (Content, Media, Settings, etc.) by configuring conditions with the SectionAlias property.
These should be registered via a Backoffice Entry Point.
Section Aliases
Common Umbraco-provided section aliases:
Umb.Section.ContentUmb.Section.MediaUmb.Section.SettingsUmb.Section.PackagesUmb.Section.UsersUmb.Section.MembersUmb.Section.Translation
Last updated
Was this helpful?