Skip to Content

Set Up Initial Configuration for an MDK App

test
0 %
Set Up Initial Configuration for an MDK App
Details
// Explore More Tutorials

Set Up Initial Configuration for an MDK App

Configure a new app of type mobile development kit in the SAP Cloud Platform Mobile Services cockpit.

You will learn

  • How to configure MDK apps in the Mobile Services cockpit


Step 1: Understand the mobile development kit feature

Mobile Development Kit (MDK) allow developers and technical business users to build new native mobile applications and customize select SAP native mobile applications in a highly productive environment. It’s architecture is based on NativeScript, so it supports native cross platform development which means you build your native mobile application once and deploy it to Apple and Android devices.

Mobile Development Kit provides robust online and offline capabilities, business logic, and mobile qualities such as access to the camera and barcode scanner. The first application developed with the Mobile Development Kit is SAP Asset Manager and can easily be customized using the Mobile Development Kit.

You can find more details in the Mobile Development Kit developer page.

MDK
Log on to answer question
Step 2: Log into Mobile Services cockpit

Go to https://cloudplatform.sap.com/index.html and click Login.

Enter your SAP Cloud Platform account credentials.

MDK

Click Neo Trial to navigate into SAP Cloud Platform cockpit.

MDK

Choose Services, look for the Mobile category, and click Mobile Services, users.

MDK

Click Go to Service to open the SAP Cloud Platform Mobile Services cockpit.

MDK

If there is any advisory window pops-up, close it.

Log on to answer question
Step 3: Configure a new MDK app

On the home screen of the Mobile Services cockpit, select Create new app.

MDK

Provide the required information:

Field Value
Config Templates Choose Mobile Development Kit
ID com.sap.mdk.demo
Name SAP MDK Demo App
MDK

Description and Vendor are optional fields. For more information about these fields, see Defining Applications in the SAP Cloud Platform documentation.

Once you have created your application, you see a list of features that are automatically assigned to the app.

MDK
Log on to answer question
Step 4: Add a sample backend to your MDK app

A sample OData service is available for developers to use during development and testing. The sample OData service also lets you evaluate how delta tokens are handled in your test application.

For more information about these fields, see Sample Back End in the SAP Cloud Platform documentation.

Click on the + icon to add Sample Back End feature to your MDK app.

Select Sample Back End option, and click OK.

MDK

Here, you can view the root service and metadata URLs, and generate sample sales orders and purchase orders for multiple entity sets. You can view the data for each entity in a separate text file, and even can reset the sample data.

MDK

Click SAP MDK Demo App to navigate back to app configuration page.

MDK
What is the default OData version was selected when you added the Sample Back End?
×
Step 5: Get familar with other assigned features
MDK

App Update: - Since we specified Mobile Development Kit as the app type, the App Update feature is assigned to the app by default. This feature keeps MDK apps up-to-date and manage the apps’ life cycles.

MDK

Client Policies: - Set client policies like Client Password, Client Logs, Usage report etc. for the selected mobile application.

Cloud Build: - Use the cloud build service to configure and build custom Mobile Development Kit clients, SAP Asset Manager Client, SAP Fiori Clients.

Connectivity: - Define destinations for the selected application.

Offline: - Define offline settings for the selected application. Offline support enables client applications to access back-end data without a connection. When offline, applications access data from an offline store on the client. SAP Cloud Platform Mobile Services moves data between the back end and the client offline store.

Security: - OAuth security is configured to the app by default.

MDK

You can find more information on available features in SAP Cloud Platform Mobile Services in help documentation.

Log on to answer question

Next Steps

Back to top