天天看點

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 - 出于測試用途