码迷,mamicode.com
首页 > 其他好文 > 详细

Portal嵌入SAPUI5应用程序

时间:2019-05-17 10:55:46      阅读:148      评论:0      收藏:0      [点我收藏+]

标签:comm   mon   copy   locate   load   ssi   pdo   lis   dir   

Embedding SAPUI5 Applications

You can embed SAPUI5 applications directly into the SAP Fiori launchpad on Portal to enhance the user experience.

Prerequisites

You are assigned the Content Admin role.

The SAPUI5 component is defined in a file named Component.js, which is located in the root or one of the inner folders of your application. This file is the component controller for the SAPUI5 application.

Context

By embedding SAPUI5 applications directly into the SAP Fiori launchpad on Portal, you achieve a better performance, a harmonized look-and-feel, and good support for mobile browsers.

Procedure

  1. Zip the application and upload it to the Fiori Applications folder in the Web Resource Repository. Save the application according to the Web Resource Repository naming guidelines.
  2. In the portal, go to Content Administration  Portal Content Management.
  3. In the Portal Catalog, go to Portal Applications  com.sap.portal.appintegrator.sap  UI5.
  4. In the context menu of the UI5 application view, choose Copy.
  5. In the Portal Content folder, choose the location in which you want to create the view, and from the context menu choose Paste as PCD Object.
  6. Open the iView that you created, and in the Properties editor, from the Show Category dropdown list, select UI5-FFP Integration.
  7. Configure the following properties:

Property Name

Suggested Value

Embed iView in SAP Fiori Launchpad

true

If set to false, the iView runs in an iFrame. This is recommended if the application runs with a different UI5 version than the SAP Fiori launchpad.

SAPUI5 Component Name

<the SAPUI5 component name>Examplecom.sap.component

SAPUI5 URL Path

The URL (root path) of the application. This is the path where the component.js file is located.Examplecom.sap.portal.resourcerepository/repo/fioriApplications/myUI5

  1. Save your changes.

 技术图片

 

Portal嵌入SAPUI5应用程序

标签:comm   mon   copy   locate   load   ssi   pdo   lis   dir   

原文地址:https://www.cnblogs.com/robinNing/p/10880015.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!