如何用WebIDE打开并运行CRM Fiori应用

(1) 访问Web IDE url

在Web IDE里进行项目clone操作: https://<;git host name>:8080/#/admin/projects/fnf/customer/cus.crm.opportunity

(2) 选择clone完毕的项目,点击Run:

选择noShellIndex.html:

在项目根目录下添加一个文件: neo-app.json

之后即可成功运行:

neo-app.json的源代码:

{
  "routes": [
    {
      "path": "/sap/opu/odata",
      "wattUsage": "odata_abap",
      "target": {
        "type": "destination",
        "name": "GM4_https",
        "entryPath": "/sap/opu/odata"
      },
      "description": "GM4_https"
    },
    {
      "path": "/sap/bc/ui5_ui5",
      "wattUsage": "ui5_execute_abap",
      "target": {
        "type": "destination",
        "name": "GM4_https",
        "entryPath": "/sap/bc/ui5_ui5"
      },
      "description": "GM4_https"
    },
    {
      "path": "/src/main/webapp/resources/",
      "target": {
        "type": "service",
        "name": "sapui5",
        "entryPath": "/resources"
      },
      "description": "SAPUI5 Resources"
    },
    {
      "path": "/src/main/webapp/resources",
      "target": {
        "type": "application",
        "name": "cuscrmlibreuse",
        "preferLocal": true
      },
      "description": "Reuse Library"
    }
  ]
}

要获取更多Jerry的原创技术文章,请关注公众号"汪子熙".

你可能感兴趣的:(java,html5,webide,sap,javascript)