Skip to Content

Adding Fiori Apps to CAP Projects

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-northwind-odata-service-and-local-annotations/ )

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 .

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on May 13 at 06:11 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.