cancel
Showing results for 
Search instead for 
Did you mean: 

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

0 Kudos

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:

'File not Found' when the app was deployed

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

The file in the project structure

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

If someone could give me some advice I really appreciated

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

I found the solution.

In ui5-deploy.yaml file you have to delete this line then you can deploy and you must see the local data in your app.

Hope this can help someone

Answers (0)