Skip to Content
0
4 days ago

How can my SAPUI5 app access a local datasource after been deployed in cloud foundry

58 Views

I'm trying to access a local json file that I use as datasource. I don't have problem to access the data in SAP BAS but when the app has been deployed It says that the file is not found.

This is in local SAP BAS:

image.png

image.png

'File not Found' when the app was deployed

image.png

This is the data source configuration in the manifest.json file

image.png

The file in the project structure

image.png

I guess I have to add some configuration in the xs-app.json but I'm not sure.

image.png

If someone could give me some advice I really appreciated

Attachments

image.png (54.2 kB)
image.png (16.4 kB)
image.png (20.5 kB)
image.png (28.7 kB)
image.png (11.4 kB)
image.png (39.3 kB)