Custom dashboards
Valtimo provides the possibility to introduce your own dashboard and add functionality to your project. The following example will provide details on how you can introduce your own custom dashboard.
Creating an angular component
To use a custom dashboard you must first create a component to hold both the functionality and user interface. First create a package under 'src/app/' and then create an angular component such as the example below
Create the html file that will serve your user interface. Note that the name of the file must be the same as in the templateUrl property in the example above.
Routing
Valtimo already provides an off the shelf dashboard which must first be overridden in order for your custom dashboard to be used. To achieve that you can import and declare the route as in the example below.
Declaring the component
In order for your component to be used by the application you must import and declare it in 'app.module.ts'
Last updated
Was this helpful?