cancel
Showing results for 
Search instead for 
Did you mean: 

CAP model - Fiori App templates & Odata V2 availability

0 Kudos

Hi , We are considering CAP model for our project and would like to know the approach to follow for the following:

We will end up creating 8 -10 Fiori applications , the DB (HDI - shared) would be same for all of them and we plan to create services as required - perhaps 1 per app , or club one service for multiple apps.

How do we approach the application development, Our subaccount doesnt have Business application studio available & more over having the fiori app templates available would be a basic requirement for our project. I see WebIDE that has Business application project available as template and provides all the similar articats as of a CAP project from Bus. app studio , would it be a good idea to continue with WebiDE full-stack?

Assuming we stick to WEbIDE fullstack , How do we go with developing fiori elements app. When i try to point to the "Srv" folder within workspace for services while using the Fiori create from template wizard , it throws an error saying Odata V4 is not supported .

And when i try to use Odata V2 adapter , it simply doesnt work in my case. I went for the Github link here , and chose the "CDS combined backend (Node.js) - custom" - when i run index.js it , it works fine for V4 , but for the V2 path it gives internal server error. A look at the log for the service shows an error as follows: "Error: CDS compilation failed\ncat-service.cds:1:40-58: Error: Cannot find local module '../db/data-model' .

I'm sharing a Github link to my sample project here : CAP POC link

Please guide on the Odata V2 set up .

gregorw
Active Contributor

You're trying to get an answer in all channels. Please check my answer in the GitHub Issue: OData V2 adapter for CAP service #68

Accepted Solutions (0)

Answers (0)