Dashboard Umbraco
Créez des tableaux de bord personnalisés dans le backoffice Umbraco pour afficher des informations et des fonctionnalités avec conditions de visibilité.
name: umbraco-dashboard description: Implement dashboards in Umbraco backoffice using official docs version: 1.0.0 location: managed allowed-tools: Read, Write, Edit, WebFetch
Umbraco Dashboard
What is it?
Dashboards are customizable components that appear in Umbraco's backoffice sections to display information and functionality. They show an 'editor' for the selected item in the tree or default section information when no item is selected. Dashboards use conditions to control where and when they appear in the backoffice.
Documentation
Always fetch the latest docs before implementing:
- Main docs: https://docs.umbraco.com/umbraco-cms/customizing/extending-overview/extension-types/dashboard
- Foundation: https://docs.umbraco.com/umbraco-cms/customizing/foundation
- Extension Registry: https://docs.umbraco.com/umbraco-cms/customizing/extending-overview/extension-registry
- Tutorial: https://docs.umbraco.com/umbraco-cms/tutorials/creating-a-custom-dashboard
Reference Example
The Umbraco source includes a working example:
Location: /Umbraco-CMS/src/Umbraco.Web.UI.Client/examples/dashboard-with-property-dataset/
This example demonstrates a dashboard that uses property datasets for data binding. Study this for production patterns.
Related Foundation Skills
If you need to explain these foundational concepts when implementing dashboards, reference these skills:
-
Umbraco Element / UmbElementMixin: When implementing dashboard elements, explaining UmbElementMixin, UmbLitElement, or base class patterns
- Reference skill:
umbraco-umbraco-element
- Reference skill:
-
Context API: When implementing context consumption (consumeContext), providing contexts, or accessing services like UMB_NOTIFICATION_CONTEXT
- Reference skill:
umbraco-context-api
- Reference skill:
-
Localization: When implementing translations, using localize.term(), or adding multi-language support
- Reference skill:
umbraco-localization
- Reference skill:
-
State Management: When implementing reactive state, using observables, UmbState, or @state() decorator
- Reference skill:
umbraco-state-management
- Reference skill:
-
Conditions: When implementing visibility controls, section restrictions, or conditional rendering
- Reference skill:
umbraco-conditions
- Reference skill:
Workflow
- Fetch docs - Use WebFetch on the URLs above
- Ask questions - What section? What functionality? Who can access?
- Generate files - Create manifest + implementation based on latest docs
- Explain - Show what was created and how to test
Minimal Examples
Manifest (umbraco-package.json)
{
"type": "dashboard",
"alias": "my.dashboard",
"name": "My Dashboard",
"element": "/App_Plugins/MyDashboard/dashboard.js",
"meta": {
"label": "My Dashboard",
"pathname": "my-dashboard"
},
"conditions": [
{
"alias": "Umb.Condition.SectionAlias",
"match": "Umb.Section.Content"
}
]
}
Implementation (dashboard.js)
import { LitElement, html, css } from '@umbraco-cms/backoffice/external/lit';
import { UmbElementMixin } from '@umbraco-cms/backoffice/element-api';
export default class MyDashboardElement extends UmbElementMixin(LitElement) {
render() {
return html`
<uui-box headline="My Dashboard">
<p>Dashboard content goes here</p>
</uui-box>
`;
}
static styles = css`
:host {
display: block;
padding: var(--uui-size-space-4);
}
`;
}
customElements.define('my-dashboard', MyDashboardElement);
That's it! Always fetch fresh docs, keep examples minimal, generate complete working code.
Skills similaires
Expert Next.js App Router
Un skill qui transforme Claude en expert Next.js App Router.
Générateur de README
Crée des README.md professionnels et complets pour vos projets.
Rédacteur de Documentation API
Génère de la documentation API complète au format OpenAPI/Swagger.