首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >SAPUI5 -实现智能变体管理

SAPUI5 -实现智能变体管理
EN

Stack Overflow用户
提问于 2018-04-03 18:12:13
回答 1查看 3.7K关注 0票数 1

我已经用TablePersonalisation和VariantManagement实现了智能表。我已经在ABAB存储库中部署了我的应用程序并进行了测试。当我保存一个新的变体时,它也会被保存。但是它不会被检索到。

我还没有为控制器中的变量管理编写任何代码。下面是在后台传递并保存的json数据的截图。

找不到domain:8010/sap/bc/lrep/flex/data/tracking.Component。

请提个建议。

EN

回答 1

Stack Overflow用户

发布于 2019-09-02 11:55:13

我也遇到了同样的问题,为了解决这个问题,我必须修改neo-app.json中的路由,如下所示。在我的例子中,我有一个ABAP后端系统,我现在理解它的方式是,这些路由可以帮助识别变种的持久性。请看:

"path": "/sap/bc/lrep/changes", "path": "/sap/bc/lrep/variants", "path": "/sap/bc/lrep/flex/settings", "path": "/sap/bc/lrep/flex/data"

neo-app.json内容:

代码语言:javascript
复制
{
  "welcomeFile": "/webapp/index.html",
  "routes": [
    {
      "path": "/resources",
      "target": {
        "type": "service",
        "name": "sapui5",
        "entryPath": "/resources"
      },
      "description": "SAPUI5 Resources"
    },
    {
      "path": "/test-resources",
      "target": {
        "type": "service",
        "name": "sapui5",
        "entryPath": "/test-resources"
      },
      "description": "SAPUI5 Resources"
    },
    {
      "path": "/webapp/resources",
      "target": {
        "type": "service",
        "name": "sapui5",
        "entryPath": "/resources"
      },
      "description": "SAPUI5 Resources"
    },
    {
      "path": "/webapp/test-resources",
      "target": {
        "type": "service",
        "name": "sapui5",
        "entryPath": "/test-resources"
      },
      "description": "SAPUI5 Test Resources"
    },
    {
      "path": "/sap/opu/odata",
      "target": {
        "type": "destination",
        "name": "S4H",
        "entryPath": "/sap/opu/odata"
      },
      "description": "S4H"
    },
    {
      "path": "/sap/bc/lrep/flex/data",
      "target": {
        "type": "destination",
        "name": "S4H",
        "entryPath": "/sap/bc/lrep/flex/data"
      },
      "description": "S4H_data"
    },
    {
      "path": "/sap/bc/lrep/flex/settings",
      "target": {
        "type": "destination",
        "name": "S4H",
        "entryPath": "/sap/bc/lrep/flex/settings"
      },
      "description": "S4H_settings"
    }      
 ,
    {
      "path": "/sap/bc/lrep/changes",
      "target": {
        "type": "destination",
        "name": "S4H",
        "entryPath": "/sap/bc/lrep/changes"
      },
      "description": "S4H_changes"
    }  
 ,
    {
      "path": "/sap/bc/lrep/variants",
      "target": {
        "type": "destination",
        "name": "S4H",
        "entryPath": "/sap/bc/lrep/variants"
      },
      "description": "S4H_variants"
    }  
  ],
  "sendWelcomeFileRedirect": true
}
票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/49627488

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档