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

Create a Slider Custom Control in an MDK App (Using Metadata Approach)

Build and run the mobile development kit client with slider 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 implement an extension by writing Native Code in TypeScript via Marshalling
Jitendra Kansal J Jitendra Kansal June 14, 2026
Created by August 26, 2023
Contributors

Prerequisites

Prerequisites

Play Store QR Code
Android
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 the MDK Tutorial GitHub repository and start directly with step 6 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 Slider extension via NativeScript (in TypeScript language) which will be common for both device platforms.

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_slider (used for this tutorial) , add a description (optional), and click Create.

    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 Display the QR code for onboarding the Mobile app
+
Step 8 Run the Project
+

Resources

Discussion

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

Submit detailed feedback Discuss in Community
Steps
Step 1 of 8
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. Display the QR code for onboarding the Mobile app 8. Run the Project

Learn more →