cancel
Showing results for 
Search instead for 
Did you mean: 

SAP MDK capabilities like charts for web and chat bot like UI layout for mobile

alagar_pandian
Participant
0 Kudos
90

Hi All,

Few queries around sap MDK app development, please help me to find the answers.

Note:  I use BAS for development.

1. is it possible to build chat bot like UI layout(refer below sample design) using MDK, as its not free style UI5 app I am finding it difficult to bring up complex designs.

alagar_pandian_0-1731591745413.png

2. I am using MDK control 'Chart Content' but it only supports mobile, how to build charts for web too ? also 'Chart content' doesn't have pie chart ? 

3. I want to call an odata service entity and do some processing and setup some global variables to hold different data sets to use across different pages, is it possible in MDK ?

4. Do we have any portal where sample designs with source code are given to showcase SAP MDK's UI capabilities ? something like demokit for Fiori ? I found this https://github.com/SAP-samples/cloud-mdk-samples/tree/main/Showcase_Apps but I feel that there should be more design samples showcased somewhere else ?

@Jitendra_Kansal  @bill_froelich Plz throw some light here when you can.

 

 

 

View Entire Topic
bill_froelich
Product and Topic Expert
Product and Topic Expert
0 Kudos

See my thoughts below related to your questions.

1. MDK mobile clients support extension controls where you can build your own controls and use them in your application.  You can take a look at the Create Extension Controls in Mobile Development Kit (MDK) Apps tutorial for an example of a simple control.

2. We do not have any chart support in the MDK web client at this time and I don't have any alternative solutions for the web either.  On Mobile we support Line, Bar and Column today and have plans to add donut chart type in a future release.

3. In terms of global variables you can use store it as

  • Page or Control Client Data - Persistented only while the page or control is open.  Once the page is closed the Client Data is cleared
  • App Client Data - Persisted while the app is running.  If you swipe the app closed and relaunch it the App Client Data is no longer there.
  • App Settings - Stored via the Nativescript AppSettings module. Persisted between application launches.  Would not recommend storing large amounts of data.

4. In addition to the SAP Mobile Development Kit Samples repository which you already found we have the MDK Mentor application which is included in the SAP Mobile Services Client on the iOS App Store and Google Play Store.  You can get to it by selecting the Try the Demo link from the welcome screen and opening the Mentor App.  This will provide samples of the UI Components and allow you to try out some of the options related to them.  Please keep in mind that the MDK Mentor app is an ongoing project to fully include interactive examples of the controls and still being enhanced.