App to App在WebIDE Component.js 404中不起作用

2020-09-15 23:05发布

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


我为component.js得到404。 我已经比较了hc_orion路径,并且看起来都一样。 我已经附加了目的地,项目名称,neo app.json和fiorisandboxconfig.json文件


 {
     "应用程序":{
         "材料展示":{
             " additionalInformation":" SAPUI5.Component = test.Material",
             " applicationType":" URL",
             " url":"/img/orion/file/p1941080225trial $ P1941080225-OrionContent/Material",
             "描述":" App1"
         },
         " App2-display":{
             " additionalInformation":" SAPUI5.Component = test.App2",
             " applicationType":" URL",
             " url":"/img/orion/file/p1941080225trial $ P1941080225-OrionContent/App2",
             "描述":" App2"
         }
     }
 }


 {
   "路线":[
       {
       " path":"目的地/No风",
       "目标":{
         " type":"目的地",
         " name":" Nothwind"
       },
       " description":" Nothwind"
     },{
         " path":"/img/orion",
         "目标":{
             " type":"服务",
             "名称":"猎户座"
         },
         " description":"猎户座服务"
       },{
         " path":"/资源",
         "目标":{
             " type":"服务",
             " name":" sapui5",
             " entryPath":"/资源"
         },
         " description":" SAPUI5资源"
       },{
         " path":"/img/test-resources",
         "目标":{
             " type":"服务",
             " name":" sapui5",
             " entryPath":"/img/test-resources"
         },
         " description":" SAPUI5测试资源"
       }
   ]
 }
 

(26.3 kB)

         点击此处--->   EasySAP.com群内免费提供SAP练习系统(在群公告中)

加入QQ群:457200227(SAP S4 HANA技术交流) 群内免费提供SAP练习系统(在群公告中)


我为component.js得到404。 我已经比较了hc_orion路径,并且看起来都一样。 我已经附加了目的地,项目名称,neo app.json和fiorisandboxconfig.json文件


 {
     "应用程序":{
         "材料展示":{
             " additionalInformation":" SAPUI5.Component = test.Material",
             " applicationType":" URL",
             " url":"/img/orion/file/p1941080225trial $ P1941080225-OrionContent/Material",
             "描述":" App1"
         },
         " App2-display":{
             " additionalInformation":" SAPUI5.Component = test.App2",
             " applicationType":" URL",
             " url":"/img/orion/file/p1941080225trial $ P1941080225-OrionContent/App2",
             "描述":" App2"
         }
     }
 }


 {
   "路线":[
       {
       " path":"目的地/No风",
       "目标":{
         " type":"目的地",
         " name":" Nothwind"
       },
       " description":" Nothwind"
     },{
         " path":"/img/orion",
         "目标":{
             " type":"服务",
             "名称":"猎户座"
         },
         " description":"猎户座服务"
       },{
         " path":"/资源",
         "目标":{
             " type":"服务",
             " name":" sapui5",
             " entryPath":"/资源"
         },
         " description":" SAPUI5资源"
       },{
         " path":"/img/test-resources",
         "目标":{
             " type":"服务",
             " name":" sapui5",
             " entryPath":"/img/test-resources"
         },
         " description":" SAPUI5测试资源"
       }
   ]
 }
 

(26.3 kB)
付费偷看设置
发送
2条回答

请添加您的应用及其组件文件和沙箱项目的屏幕截图。

此致

Jamie

Doze时光
2楼-- · 2020-09-15 23:26

嗨,

从fiori沙箱启动时,我也得到了404的组件!

以下是我的配置:

fioriSandboxConfig.json

 {
 "应用程序":{
 " AppTestOne-display":{
 " additionalInformation":" SAPUI5.Component = AppTestOne",
 " applicationType":" URL",
 " url":"/img/orion/file/ac441b83d $ S0019589140-OrionContent/AppTestOne",
 " description":" Fiori应用程序AppTestOne。可以通过使用意图'AppTestOne-display'导航到。",
 标题:应用测试一
 },
 " AppTestTwo-display":{
 " additionalInformation":" SAPUI5.Component = AppTestOne",
 " applicationType":" URL",
 " url":"/img/orion/file/ac441b83d $ S0019589140-OrionContent/AppTestTwo",
 " description":" Fiori应用程序AppTestTwo。可以通过使用意图'AppTestTwo-display'导航到。",
 标题:应用测试二
 }
 }
 }
 


neo-app.json

 {
 " welcomeFile":" index.html",
 "路线":[{
 " path":"/img/AppTestTwo",
 "目标":{
 " type":"应用程序",
 "名称":" apptesttwo"
 },
 " description":"导航至apptesttwo"
 },{
 " path":"/img/AppTestOne",
 "目标":{
 " type":"应用程序",
 " name":" apptestone"
 },
 " description":"导航到Appstone"
 },{
 " path":"/资源",
 "目标":{
 " type":"服务",
 " name":" sapui5",
 " entryPath":"/资源",
 "版本":" 1.38.11"
 },
 "描述":" SAPUI5资源"
 },{
 " path":"/img/test-resources",
 "目标":{
 " type":"服务",
 " name":" sapui5",
 " entryPath":"/img/test-resources",
 "版本":" 1.38.11"
 },
 "描述":" SAPUI5测试资源"
 },{
 " path":"/猎户座",
 "目标":{
 " type":"服务",
 " name":"猎户座"
 },
 "描述":"猎户座服务"
 }]
 }
 


谢谢

一周热门 更多>