Quantcast
Viewing all articles
Browse latest Browse all 3273

Re: Not able to retrieve data from backed system in HCP hosted application

Hi,

 

Can you use this neo.app json file under your webContent folder. ? This file will be be generated when you create any UI5 application from webIDe

 

neo-app.json:

{

  "welcomeFile": "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 Test Resources"

  },

{

  "path": "/destinations/MID",

  "target": {

  "type": "destination",

  "name": "MID"

  },

  "description": "Backend System"

  }],

"cacheControl": [{

  "directive": "private",

  "maxAge": 0,

  "path": "*html"

  }, {

  "directive": "public",

  "maxAge": 31536000

  }]

}

 

and make sure you have created an HTTP destination configuration as mentioned in Step 4 from the below blog.

Running UI5/ FIORI Application on the Cloud without Gateway

 

Thanks,

Rumeshbabu S


Viewing all articles
Browse latest Browse all 3273

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>