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

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


找不到domain:8010/sap/bc/lrep/flex/data/tracking.Component。
请提个建议。
发布于 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内容:
{
"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
}https://stackoverflow.com/questions/49627488
复制相似问题