Is there a feature where I can add an extra button to the left menu?

There are several ways how you can tackle that:

  • create a cockpit clone (using c8ycli new cockpit)
  • create a plugin (using c8ycli and select plugin) to extend an existing application

Independent of the way you go, you will need to use the HOOK_NAVIGATOR_NODES in order to add elements to the side menu. You can even dynamically decide if these should be shown, e.g. if a user has a specific role (by using the canActivate attribute)!

A general description can be found in the Cumulocity IoT Web Development Tutorial - Part 2: Create your first component



Hendrik Naether

1 Like