Hello Experts!
In my CAP project I am trying to create a custom icon in the Launchpad header bar, but I am unable to make it appear once deployed to cloud foundry. I have followed this forum post and I am able to get the custom icon to appear when running the app in my local development launchpad. I have not explicitly built a launchpad but I am using the standard one generated by the fioriSandboxConfig.json file.
// fioriSandboxConfig.json { "bootstrapPlugins": { "myplugin": { "component": "ns.myplugin", "url": "myplugin/webapp", "sap-ushell-plugin-type": "RendererExtensions", "enabled": true } } }
When I deploy to cloud foundry the plugin module appears in the launchpad module under the content tab. I can add it to my content and assign it to the "everyone" role without issue. However when I start the actual Launchpad, the plugin does not get loaded. On load it doesn't print any errors to the console. However, if I manually enter the plugin's intent ("#Shell-plugin") into the browser, the site crashes with the following error:
So it seems to be printing the entirety of some html file? If anyone has some input as to what might be causing this it would be greatly appreciated!
Best Regards,
Jibbril