How to change default header title and icon in cumulocity tutorial app

Hi,

you can adjust the title and icon by modifying the package.json file.
It contains a c8y property, which then has an application property.
This application property contains the so called ApplicationOptions, which are documented here.
By adjusting the name property, you will change the title.

The icon property can be used to adjust the icon.
The icon property offers a class and an url attribute. The class can be used to point to some of the standard Cumulocity icon classes, while the url attribute can point to an icon that is part of your application.

A sample for a custom icon that is part of your UI build, can be found here. Note that we are also including/copying the corresponding a assets into the build here.

A sample for an icon class can be found here

2 Likes

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.