I am trying to integrate icons into my cumulocity application: they consist of two logo icons, both .svg files, one blue and the other white, that I want to integrate at two different locations.
I would like the blue logo to appear inside the app switcher after the user opens the window ( i.e. at location 1 in the screenshot) and I would like the white logo to appear inside the navigation panel above the app name at location 2.
Both icons are included in the assets folder in my dist folder, which I then deployed to my tenant, and they are also included in the assets folder at the root level of my application.
For the first logo, I have tried modifying my package.json to include an icon field within the c8y object, to no effect.
I noticed that I had made a typo in the url field of my icon object in package.json. Once I corrected it, the icon appears on the application switcher; however, it is not filling up the space adequately.
Your svg has it’s width set to 1024 and height set to 362.
If you try to make it a square (same width and height) where the logo is in the center, it should also be centered in the app switcher.
Yes, I was consulting that page. I tried to add /apps/karl-storz-demo/ to the --navigator-platform-logo field, but I would get an error stating that the file does not exist.
How would I go about changing the branding of the displayed widget? I tried adding a “width” field to the icon object inpackage.json but nothing happened.