cancel
Showing results for 
Search instead for 
Did you mean: 

cards are not supported by Using Overview Page Template using Business Application Studio

durgaprasanth_vemula
Participant
0 Kudos

I am following the below link to develop Overview Page by Using Overview Page Template and trying to Add New Card to created project in Business Application Studio. And the issue is that I am not getting option to Add New Card in the Business Application Studio and could you please help me in this.

I see this option in SAP Webide As per the below screen shot but i want to develop in Business Application studio.

https://blogs.sap.com/2020/05/10/sap-fiori-elements-overview-page-part-4creation-of-destinations-and.../

petr_stribrny
Explorer

Hello durgaprasanth.vemula,

To investigate your issue I'd need the OData service you're using. But in principle, you can check by yourself the add card (list or analytical works). To do just follow these steps:

I. go to your SAP Bussiness Application Studio instance

II. generate an OVP app. To do so, do these steps:

IIa. menu view Fiori: Open Application Generator

IIb. select SAP Fiori elements application

IIc. select Overview Page template

IId. select Conect to an OData service

IIe. select DataSource https://v2-store-overview.cfapps.us10.hana.ondemand.com/sap/opu/odata/sap/GWSAMPLE_BASIC/ (no user&pw required)

IIf. select GlobalFilters an the main entity

IIg. generate and preview the app

III. Since a list card is easier, I'll add an analytical card using Guided Development ("tools:help")

  1. If not already done, Launch Guided Development by using the command Fiori: Open Guided Development from the command palette
  2. In Guided Development, search for "card" (if not done already)
  3. Expand the guide "Add an analytical card to an overview page" and scroll down to "Steps" section. Fill the following information:
    3.1. "Model": mainService
    3.2. "Entity": Runners
    3.3. "Card ID": card01
    3.4 "Title": Service1Card2 Runners Types
    3.5. "Subtitle": Runners Types
    3.6. "Presentation Annotation Path": UI.PresentationVariant#RunnersByType
    3.7. "Chart Annotation Path": UI.Chart#RunnersByType
    3.8. "Data Point Annotation Path": UI.DataPoint#TotalRunners
    3.9. "Chart Type": Donut
  4. Click on the Apply button
  5. Check that card has been inserted to OverviewPage.json and save the changes
  6. A new analytical card should be reflected in your running application

Let me know if it doesn't work or you have any doubts.

Best Regards,

Petr

Accepted Solutions (0)

Answers (1)

Answers (1)

petr_stribrny
Explorer

Hello durgaprasanth.vemula,

Maybe you haven't seen my comment. I wante to add, you can also use your OData service instead of that one I've mentioned. So let me know if the steps I specified work for you. Thanks.

Best Regards,

Petr