SAP Home Learn Build Integrate Model Operate Extend with AI ConnectTutorial navigator Knowledge Graph API Devtoberfest Developer Advocates App Space

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
โคข Open full site

Extend Your MDK App With a Map Custom Control (Using Metadata Approach)

Build and run the mobile development kit client with Map custom control functionality for Android and iOS platforms.

Overview

🎓 advanced 35 min. Mobile Development Kit ClientAdvancedIosAndroidMobileSAP Business Technology PlatformSAP Mobile ServicesSAP Build CodeSAP BuildSAP Business Application Studio

You will learn

  • โœ”How to register and consume an Extension control in MDK Metadata
  • โœ”How to build a Mobile development kit client for iOS and Android
  • โœ”How to connect to SAP Mobile application
Jitendra Kansal J Jitendra Kansal July 9, 2026
Created by August 26, 2023
Contributors

Prerequisites

Prerequisites

App Store QR Code
iOS

(If you are connecting to AliCloud accounts, you will need to brand your custom MDK client by allowing custom domains.)

Steps

Intro

You may clone an existing metadata project from GitHub repository and start directly with step 5 in this tutorial.


To extend the functionality, or customize the look and feel, and behavior of your client app, you can create extension controls other than the already existing MDK built-in controls by writing Native Code in TypeScript via Marshalling. NativeScript provide the ability to access platform-specific objects, class, and types in TypeScript / JavaScript via marshalling. NativeScript handles the conversion between JavaScript and native data types implicitly.

In this tutorial, you will create a Map extension via NativeScript (in TypeScript language), you will view the Map in Apple Maps on iOS devices and in Google Maps on Android devices.

MDK
MDK

Step 1 Create a New Project Using SAP Build
โ€”

This step includes creating a mobile project in SAP Build Lobby.

  1. In the SAP Build Lobby, click Create > Create to start the creation process.

    MDK
    MDK

  2. Click the Application tile and choose Next.

    MDK
    MDK

  3. Select the Mobile category and choose Next.

    MDK
    MDK

  4. Select the Mobile Application to develop your mobile project in SAP Business Application Studio and choose Next.

    MDK
    MDK

  5. Enter the project name mdk_maps (used for this tutorial) , add a description (optional), and click Review.

    MDK
    MDK

    SAP Build recommends the dev space it deems most suitable, and it will automatically create a new one for you if you don’t already have one. If you have other dev spaces of the Mobile Application type, you can select between them. If you want to create a different dev space, go to the Dev Space Manager. See Working in the Dev Space Manager.

  6. Review the inputs under the Summary tab. If everything looks correct, click Create to proceed with creating your project.

    MDK
    MDK

  7. Your project is being created in the Project table of the lobby. The creation of the project may take a few moments. After the project has been created successfully, click the project to open it.

    MDK
    MDK

  8. The project opens in SAP Business Application Studio.

    MDK
    MDK

    When you open the SAP Business Application Studio for the first time, a consent window may appear asking for permission to track your usage. Please review and provide your consent accordingly before proceeding.

    MDK
    MDK

Step 2 Configure the Project Using Storyboard
+
Step 3 Register an Extension Control
+
Step 4 Consume Extension Control in MDK Metadata
+
Step 5 Implement Extension using metadata approach
+
Step 6 Deploy the Project
+
Step 7 Get the API Key to use the Maps SDK for Android (Required only for Android client)
+
Step 8 Create Your Branded MDK Client (Required only for Android)
+
Step 9 Run the MDK Client
+

Resources

Discussion

Share feedback on this tutorial or join the conversation in SAP Community.

Submit detailed feedback Discuss in Community
Steps
Step 1 of 9
1. Create a New Project Using SAP Build 2. Configure the Project Using Storyboard 3. Register an Extension Control 4. Consume Extension Control in MDK Metadata 5. Implement Extension using metadata approach 6. Deploy the Project 7. Get the API Key to use the Maps SDK for Android (Required only for Android client) 8. Create Your Branded MDK Client (Required only for Android) 9. Run the MDK Client

Learn more →