Skip to Content

Set Up Initial Configuration for an MDK App

test
0 %
Set Up Initial Configuration for an MDK App
Details

Set Up Initial Configuration for an MDK App

September 10, 2020
Created by
April 23, 2019
Configure a new app in the SAP Cloud Platform Mobile Services cockpit and assign some server side features.

You will learn

  • How to configure MDK apps in the Mobile Services cockpit

Prerequisites


Step 1: Understand the mobile development kit feature

Mobile Development Kit (MDK) allows developers and technical business users to build new native mobile apps 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 Android and iOS 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
What are some of the benefits of Mobile Development Kit apps?
×
Step 2: Configure a new MDK application in Mobile Services cockpit

Make sure that you have completed required pre-Prerequisites mentioned in this tutorial.

  1. Navigate to SAP Cloud Platform Mobile Services cockpit on Cloud Foundry environment.

  2. On the home screen, select Create new app.

    MDK
  3. Provide the required information and click Next.

    Field Value
    ID com.sap.mdk.demo
    Name SAP MDK Demo App
    MDK

    Other fields are optional. For more information about these fields, see Creating Applications in the SAP Cloud Platform documentation.

  4. Select Mobile Development Kit Application from the dropdown and Click Finish.

    MDK

    If you see a Confirm Finish window, click OK.

  5. Once you have created your application, you see a list of default features have been automatically assigned to the app.

    MDK

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

Which tool do you use to create the Mobile Services configuration for your MDK app?
×
Step 3: 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.

More details on Sample Back End is available in help documentation.

  1. Click the + icon to add Mobile Sample OData ESPM feature to your MDK app.

    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.

    MDKMDK

    If you see a Confirm Save window, click OK.

  2. Click com.sap.mdk.demo to navigate back to app configuration page.

What is the default OData version was selected when you added the Sample Back End?
×

Next Steps

Back to top