Hello Experts,
I need to throuh a popup, when opening two tiles. I remember the extension posibility of the EP FLP (https://help.sap.com/). But I can not find any functional example or a fully tutorial how to implement this.
What do we have?
Enterprise Portal on NW 7.5 SP04
SAPUI5 1.38.23
What have I done by now?
Deployed this javascript file to the web repository
//Component.js (function() { "use strict", jQuery.sap.declare("xxx.flp.extensions"); jQuery.sap.require("sap.ui.core.Component"); sap.ui.core.Component.extend("xxx.flp.extensions.Component", { onInit: function() { // just for demo - do NOT directly trigger UI actions for productive plug-ins // SAPUI5 is available, but DOM might not be ready yet if (sap.ui.getCore().isInitialized()) { this._sayHello(); } else { sap.ui.getCore().attachInit(this._sayHello.bind(this)); } }, _sayHello: function() { sap.m.MessageToast.show("Hello World from SAP Fiori launchpad plug-in"); } })(); });
Entered this plugin parameters in the FLP-Page
Name of the custom plugin : xxx.flp.extensions.Component
Custom plugin url : com.sap.portal.resourcerepository/repo/wr_xxx/flpExtensions/Component.js
What do I get?
Plugin CustomBootstrapPlugin cannot get registered, because the module mechanism for plugins is not valid anymore. Plugins need to be defined as SAPUI5 components. - sap.ushell.services.PluginManager
My Question?
What did I wrong, anybody else doing right? Any advises?
Alternatives?
Yes I know the alternative to build a page with two iViews. On that send the popup the other opens the app. This page I would replace with the current iView call in the launchpad. But this looks really dirty for me, so I want a better solution for the future.
Thanks and greeting,
Thomas