天天看点

SAP Fiori 应用的本地 sandbox Launchpad - 出于测试用途

After you have created an SAPUI5 application project, you should be able to run the SAP Fiori launchpad sandbox on your local test server, where it is displayed as a resource of the project.

当我们完成 SAP UI5 项目创建之后,便可在本地测试服务器里,运行 Fiori Launchpad sandbox 应用。

The relative path of the sandbox shell is test-resources/sap/ushell/shells/sandbox/fioriSandbox.html.

假设项目名为 MyFioriApplication, 则 local Fiori Launchpad sandbox 应用的 url 格式如下:

http://localhost:8080/MyFioriApplication/test-resources/sap/ushell/shells/sandbox/fioriSandbox.html.

而 Fiori Elements 应用,sandbox url 则为:

http://localhost:8080/test/flpSandbox.html#Shell-home

SAP Fiori 应用的本地 sandbox Launchpad - 出于测试用途

对于已经部署到 SAP ABAP 服务器上的应用来说,这个格式不再生效:

https://er9.wdf.sap.corp:44300/sap/bc/ui5_ui5/sap/jerryfioriapp/index.html?sap-client=001

工作:

SAP Fiori 应用的本地 sandbox Launchpad - 出于测试用途

不工作:

https://er9.wdf.sap.corp:44300/sap/bc/ui5_ui5/sap/jerryfioriapp/test-resources/sap/ushell/shells/sandbox/fioriSandbox.html

原则上说,如果部署到服务器上了,应该使用服务器端的 Launchpad:

SAP Fiori 应用的本地 sandbox Launchpad - 出于测试用途
SAP Fiori 应用的本地 sandbox Launchpad - 出于测试用途