cancel
Showing results for 
Search instead for 
Did you mean: 

Error loading Launchpad plugin in cloud foundry

0 Kudos

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

0 Kudos

Hello Experts,

I am still looking for a solution to this bug, any help would be much appreciated!

Best Regards,

Jibbril

gregorw
Active Contributor
0 Kudos

Have you raised an Incident via SAP Support?

Accepted Solutions (0)

Answers (0)