我想实现SAP而不使用。Fiori Launchpad没有安装在系统上,也不会安装。我找到了一些像这样的文章:https://blogs.sap.com/2015/07/14/how-to-run-my-inbox-app-in-standalone-header-less-mode/
在浏览器中启动以下URL: https:///sap/bc/ui5_ui5/ui2/ushell/shells/abap/FioriLaunchpad.html?sap-client=&sap-ushell-config=headerless#Shell-runStandaloneApp?sap-ushell-SAPUI5.Component=cross.fnd.fiori.inbox&sap-ushell-url=/sap/bc/ui5_ui5/sap/ca_fiori_inbox&
但这也需要Fiori Launchpad启动和运行。MyInbox只是一个网络应用程序。所以它应该通过一个特定的链接运行。我试着测试来自SICF的服务CA_FIORI_INBOX
,但只是获得HTTP404。
系统别名等正在启动和运行,收件箱在本地网关上运行。
有人可以告诉我,如果没有就可以运行MyInbox?
发布于 2018-08-13 14:58:22
您所指的url是一个fiori发射台。
将此index.html文件添加到与component.js相同的目录中,并运行index.html文件。
***<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta charset="UTF-8">
<title>My Inbox</title>
<script id="sap-ui-bootstrap"
src="https://sapui5.netweaver.ondemand.com/resources/sap-ui-core.js"
data-sap-ui-libs="sap.m"
data-sap-ui-theme="sap_belize"
data-sap-ui-compatVersion="edge"
data-sap-ui-resourceroots='{"cross.fnd.fiori.inbox": "./"}'>
</script>
<link rel="stylesheet" type="text/css" href="css/style.css">
<script>
sap.ui.getCore().attachInit(function() {
new sap.m.Shell({
app: new sap.ui.core.ComponentContainer({
height : "100%",
name : "cross.fnd.fiori.inbox"
})
}).placeAt("content");
});
</script>
</head>***
<body class="sapUiBody" id="content">
</body>
</html>
Genarally Fiori应用程序使用Component.js文件从fiori运行。fiori发射台充当这个应用程序的容器。要独立运行,我们需要html。
https://stackoverflow.com/questions/51784192
复制相似问题