2016-10-18 36 views
0

私たちのビジネスは、Fioriランチパッドのユーザーにメッセージ/通知を届ける方法を探しています(必要に応じて、X日のメンテナンスのためにシステムがダウンするという予告メッセージ)SAP Fiori Launchpad - Dialog

私たちは、SAPにONEサポートLaunchpadのを見てきました

オプションは次のとおりです。 - (例えばいただきました新しい。) でログにメッセージダイアログのポップアップ - メッセージダイアログ へのリンクを持つシェル・バーにボタン - ボタンメッセージダイアログへのリンクとフッターに

検索や検索後に問題が発生するのは、実装方法や実装方法がわからないことです。

誰もこれに関する知識があるか、正しい方向で私を指すことができますか?

オプションとしてRSSフィードを取り込むことができるニュースアプリがありますが、理想的には代替ソリューションが必要です。

Message dialog

Shell bar drop down button

答えて

0

ランチパッドは、プラグインを使用して拡張のコンセプトを持っています。ここでは、UIのアクションメニュー、ヘッダー、フッター、その他の選択した場所にボタンを追加できます。 しかし、SAP ONE Support Launchpad(実際にはushellをベースにしています)を拡張することができるかどうかは、ランチパッドの内容を変更する必要があるため、拡張することはできません。

APIに関するドキュメントはここで見つけることができます: http://help.sap.com/saphelp_nw75/helpdata/en/56/e9328978954c77946b75c0976f221c/content.htm?frameset=/en/d5/8602924af34fc3816d44ddb6a9e911/frameset.htm&current_toc=/en/bd/e12a271f0647e799b338574cda0808/plain.htm&node_id=130&show_children=false

そして、ここで詳細なAPIドキュメント: https://sapui5.hana.ondemand.com/#docs/api/symbols/sap.ushell.renderers.fiori2.Renderer.html

プラグインとしてサンプルコーディングは次のようになります。

sap.ui.define([ 
"sap/ui/core/Component", 
"sap/m/MessageBox"], function(Component, MessageBox) { 

return Component.extend("my.FLP.plugin.Component", { 

    init: function() { 

     // 1. fiori renderer for reuse 
     var renderer = sap.ushell.Container.getRenderer("fiori2"); 

     /** 
     * 2. 
     * Add Item to the Action Menu 
     */ 

     renderer.addActionButton("sap.m.Button", { 
      id: "testHomeButton", 
      icon: "sap-icon://family-care", 
      text: "Help for FLP page", 
      press: function() { 
       window.open("http://www.sap.com", "_blank"); 
      } 
     }, true, false, [sap.ushell.renderers.fiori2.RendererExtensions.LaunchpadState.Home]); 

     renderer.addActionButton("sap.m.Button", { 
      id: "testAppButton", 
      icon: "sap-icon://family-care", 
      text: "Help for App page", 
      press: function() { 
       window.open("http://www.sap.com", "_blank"); 
      } 
     }, true, false, [sap.ushell.renderers.fiori2.RendererExtensions.LaunchpadState.App]); 

     /** 
     * 3. 
     * Add Item to the Footer 
     */ 


     renderer.setFooter(new sap.m.Bar({ 
      design: sap.m.BarDesign.Footer, 
      contentLeft: [new sap.m.Button({ 
       text: "Important Information", 
       press: function() { 
        MessageBox.information("This Fiori Launchpad has been extended to improve your experience"); 
       } 
      })] 
     })); 

このヘルプが欲しい!

関連する問題