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

2021-03-15 11:28

阅读:468

(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的原创技术文章,请关注公众号"汪子熙".


评论


亲,登录后才可以留言!