Hi Experts.
I have previously used the 'SAP Fiori Launchpad Plugin' template in the cloud Web IDE for creating a Cloud Portal (Fiori) Plugin, and this worked perfectly to my needs. I used this to customize system messages to be shown in the launchpad.
Recently I have been experiencing problems when registering this plugin, as SAP apparently has changed the way plugins are deployed to SCP, and registered in the Portal.
I did open a ticket to SAP, and was told that the only way SAP supports Portal Plugins are described here (this apparently implies that the mentioned template is no longer supported):
My Problem:
I have followed the guide, but cannot register my plugin in the Portal as a Shell Plugin. It will only allow me to register it as a normal SAPUI5 application.
My Component.js file is very simple:
(function () {
"use strict";
jQuery.sap.declare("dk.sorenviggo.test.flp.plugin.test001.Component");
jQuery.sap.require("sap.ui.core.UIComponent");
sap.ui.core.UIComponent.extend("dk.sorenviggo.test.flp.plugin.test001.Component", {
// use inline declaration instead of component.json to save 1 round trip
metadata : {
"manifest": "json"
},
createContent : function () {
sap.m.MessageBox.alert("Hello");
}
});
}());
After deployment of the application, and I want to register the plugin in the portal, I get the following problem.

The App Type is greyed out and I cannot select the type 'Shell Plugin'.
Two things strikes me regarding the manifest file.
1. The value of "type" under "sap.app" is now "application", which was "component" in the old template.
2. In the old template a section "sap.flp" was added with "type" set to the value "plugin".
Regarding point 1, I did try to change this value to "component", but then the app no longer show up in the list of App Resources when configuring the app in the portal.
Regarding point 2, I also tried to add this, but then I could no longer register the app in the portal (after selecting the app, the following busy screen never ended being busy).
Can anybody please help me in what I am missing ?
Thanks,
Søren Hansen
Request clarification before answering.
Hi Søren,
In order to overcome your issue please do the following without selecting your app from the "App Resource":
1. create new app
2. Select App Type "Shell Plugin"
3. Set manually the fields:
component url: /
SAPUI5 component: dk.sorenviggo.test.flp.plugin.test001.FLPMessagePluginNew
HTML5 app name: flpmessagepluginnew
4. Save
Best regards,
Yael - Scrum Master of Cloud Portal Dev team
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.