SAP-samples / cloud-cap-risk-management

The SAP Risk Management example applications show how to deploy a CAP (SAP Cloud Application Programming model) application to Cloud Foundry and Kyma.
Apache License 2.0
70 stars 94 forks source link

New service path on cds 7.0 #34

Closed peragethemte closed 1 year ago

peragethemte commented 1 year ago

Tutorials: https://developers.sap.com/tutorials/btp-app-create-ui-fiori-elements.html


Hi,

I followed this tutorial and got error from the CAP server:

[adapters] - With @sap/cds version 7, the service path has changed to '/odata/v4/service/risk'. If you use SAP Fiori Elements, make sure to adapt the 'dataSources.uri' paths in 'manifest.json' files accordingly. For more information, see the release notes at https://cap.cloud.sap/docs/releases/jun23. So, i changed manifest.json to

"dataSources": { "mainService": { "uri": "/odata/v4/service/risk", but the index.htm are still blank. I don't get the error from the adapter anymore, and I don't get it even when i change back to /service/risk.

Any suggestions?

peragethemte commented 1 year ago

Fixed by adding a / after /odata/v4/service/risk --> /odata/v4/service/risk/