Hi All,
we have two projects one is util project consist of reuse js files,
second is ui5 project, here we call the util files by using destination, which is declared in hana cloud portal.
in ui5 project neo-app.json is
{
"welcomeFile": "/webapp/index.html",
"authenticationMethod": "none",
"sendWelcomeFileRedirect": true,
"routes": [
{
"path": "/sap/opu/odata//UTIL/utils/",
"target": {
"type": "destination",
"name": "pputil"
},
"description": "Common utils files"
},
]
}
manifest.json (calling util file)
"resources": {
"js": [
{
"uri": "/sap/opu/odata/UTIL/utils/js/Common.js"
}
]
},
error in console: (in the path webapp is showing, if we remove webapp the file is opening in the browser)
How to solve this issue? Please help me.
Thanks,
Preethi