Creating a Custom Dashboard
A guide to creating a custom dashboard in Umbraco
Overview
This guide outlines the steps to set up a custom dashboard in Umbraco. Part one covers:
What is a Dashboard?
A Dashboard is a tab on the right-hand side of a section eg. the Getting Started dashboard in the Content section:

Why provide a Custom Dashboard for your editors?
It is generally considered good practice to provide a custom dashboard to welcome your editors to the backoffice of your site. You can provide information about the site and/or provide a helpful gateway to common functionality the editors will use.
This guide will show the basics of creating a custom 'Welcome Message' dashboard. The guide will also show how you can go a little further to provide interaction using Lit and TypeScript.
The finished dashboard will give the editors an overview of which pages and media files they've worked on most recently.
This tutorial uses TypeScript and Lit with Umbraco, It is expected that your package is already set up to use TypeScript and Lit.
To see how to set up an extension in Umbraco using TypeScript and Lit, read the article Creating your first extension.
Resources
This tutorial will not go in-depth on how TypeScript and Lit work. To learn about TypeScript and Lit, you can find their documentation below:
There are a lot of parallels with Creating a Property Editor. The tutorial 'Creating a Property Editor Tutorial' is worth a read too.
The end result
At the end of this guide, the tutorial results in a friendly welcoming dashboard displaying a list of the most recent site logs.
At each step, you will find a dropdown for welcome-dashboard.element.ts, and umbraco-package.jsonto confirm your placement for code snippets.
Setting up a package
Follow the Vite Package Setup by creating a new project folder called "
welcome-dashboard" inApp_Plugins.Create a manifest file to define and configure your dashboard using either JSON or TypeScript.
Create a manifest file named umbraco-package.json within the public folder, located at the root of the welcome-dashboard folder, and add the following code:
Extension authors define the dashboard manifest, then register it dynamically during runtime using a Backoffice Entry Point extension.
Create a manifest file named manifests.ts and add the following code:
For more information about the umbraco-package.json file, read the article Extension Manifest. For more information about the dashboard configurations read the Dashboards article.
The umbraco-package.json files are cached by the server. If you are running your site in development mode, the cache is short-lived (~10 seconds). If changes to umbraco-package.json files are not reflected immediately, try reloading the backoffice a few seconds later.
When running the site in production mode, the cache is long-lived. You can read more about runtime modes in the Runtime Modes article.
Creating the Dashboard Web Component
Create the web component for the property editor. This web component contains all HTML, CSS, and logic.
Create a file in the
srcfolder with the namewelcome-dashboard.element.tsIn this new file, add the following code:
In the
vite.config.tsfile update theentryto point to the newly created.tsfile, and also ensure that theoutDirandbaseattributes are pointing to thewelcome-dashboardfolder:
In the
welcome-dashboardfolder runnpm run buildand then run the project. Then in the content section of the Backoffice you will see the new dashboard:

Going Further
With all the steps completed, you should have a dashboard welcoming your users to the Backoffice.
In the next part, the tutorial covers how to add localization to the dashboard using custom translations.
Last updated
Was this helpful?