cancel
Showing results for 
Search instead for 
Did you mean: 

Adding Fiori Apps to CAP Projects

I533303
Advisor
Advisor
0 Kudos

Hello CAPM community ,

I have create Odata service with SAP CAP model and i deploy it to SCP . How can I deal with developing fiori elements app that consume my Odata service that I already created ?

-Should I use SAP Business Application Studio or SAP Web IDE full-stack for that ?

- How can I create fiori elements app from template wizard and point to the "Srv" folder with in workspace for services while using the Fiori create from template wizard ?( like this exemple : https://blogs.sap.com/2017/03/27/develop-fiori-list-report-and-object-page-fiori-elements-using-nort... )

Note:

I checked the official documentation on serving UIs : https://cap.cloud.sap/docs/guides/fiori/

it was mentioned that for adding fiori apps to CAP model project i have to copy the the fiori apps folder from sap/samples project on github as a template and modify the content as appropriate. But it doesn't work properly .

..............

I will greatly appreciate your help .

Thank you .

Accepted Solutions (1)

Accepted Solutions (1)

geert-janklaps
Active Contributor

Hi,

To answer your first question, basically you can use both (or even your own local environment e.g. VS Code). If you can choose which one to use, I personally would pick SAP Business Application Studio. (since this is the most recent IDE released by SAP)

For your second question, based on the IDE you use:

Web IDE:

  • Generate a SAP Cloud Platform Business Application (this generates the srv and db folder etc)
  • Create a folder "app"
  • Right click the folder and choose new -> HTML5 module

Business Application Studio:

  • Generate a SAP Cloud Platform Business Application (this generates the srv and db folder etc)
  • Create a folder "app"
  • Change your directory in the command line to the app folder
  • Install easy-ui5 generator
  • Generate a new fiori project using for example the easy-ui5 generator command

At least this is how I work, there might be other ways to do it.

Best regards,

Geert-Jan Klaps

Answers (0)