SAP

Manage my Account SAP Devs YouTube ↗ Learnings ↗ Community ↗ Provide Feedback ↗
Logout
⤢ Open full site

Create a Customer List Page in an MDK App

Use the mobile development kit page editor to create a new page for displaying a customer list.

Overview

You will learn

  • How to create a new page and add some controls to display customer information
  • How to navigate from one page to another page
Jitendra Kansal J Jitendra Kansal August 21, 2026
Created on October 4, 2022
Contributors

More from Jitendra Kansal

See all 34 tutorials by Jitendra Kansal →

Prerequisites

Steps

Intro

To enhance your MDK app with customer list information, you need to carry out the following tasks:

  • Create a new customer list page
  • Add Contact Table control to the page
  • Create a new navigation action to the customer list page
  • Add a new button on main page and navigate to customer list page when user clicks it
  • Deploy the app metadata to SAP Mobile Services & Cloud Foundry
  • Update the app with new changes

Customer List App Overview Animation
Customer List App Overview Animation

Step 1 Create a new page for displaying customer list

This page is a searchable list that displays all customers.

To create the Customer List page, you will create a Section page and drag the Customer Contact Table control onto the page. In the property palette, you will link the control to the Customer Collection and then map data and actions to different areas of the cell object in the property palette. One nice feature about the Contact Table control is that it has icons that can activate device functionality such as phone, email, video and more.

  1. In the project, right-click the Pages | MDK: New Page.

    Pages Folder New Page Right-Click Menu
    Pages Folder New Page Right-Click Menu

  2. Select | Section and click Next.

    Section Page Type Selection
    Section Page Type Selection

    You can find more details about the Section Page in this documentation.

  3. Enter the page Name as Customers_List, and click Finish.

    Customers List Page Name Entry
    Customers List Page Name Entry

  4. Once the page opens in the page editor, click on the white area to select it’s Action Bar, and set the Caption to Customers.

    Action Bar Caption Set To Customers
    Action Bar Caption Set To Customers

  5. In the Layout Editor, expand the Controls | Data Bound Container group, drag and drop the Contact Table control onto the Page area.

    Contact Table Control Drag And Drop
    Contact Table Control Drag And Drop

  6. In the Target section, provide the below information:

    FieldValue
    ServiceSelect com_sap_edm_sampleservice_v4.service from the dropdown
    EntitySetSelect Customers from the dropdown

    Service And EntitySet Target Configuration
    Service And EntitySet Target Configuration

  7. In the Properties pane, click the link icon to open the Object Browser for the Description property. Double click the City property of the Customer entity to set it as the binding expression and click OK.

    City Property Bound To Description
    City Property Bound To Description

    Be careful not to select City from Address (ESPM.Address).

    City Property From Address Warning
    City Property From Address Warning

  8. Remove the default value for the DetailImage property. Repeat the above steps for Headline and Subheadline properties binding to LastName and FirstName properties of the Customer entity respectively.

    You should have final results as below.

    Contact Table Final Property Bindings
    Contact Table Final Property Bindings

  9. In the Search section of the Properties pane, change both the SearchEnabled and BarcodeScanner properties to true.

    Search And Barcode Scanner Properties Enabled
    Search And Barcode Scanner Properties Enabled

  10. In the Data section of the Properties pane, click Add to add a new activity item.

    Activity Item Added In Data Section
    Activity Item Added In Data Section

  11. Expand the added item, click the dotted icon to open the Object browser to bind the ActivityValue to the PhoneNumber property of the Customer entity.

    Phone Number Bound To Activity Value
    Phone Number Bound To Activity Value

  12. Similarly, add one more activity item, select Email from the dropdown and bind it to EmailAddress property of the Customer entity.

    Email Address Activity Item Added
    Email Address Activity Item Added

Step 2 Navigate to the Customer List page
+
Step 3 Deploy the Project
+
Step 4 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 4
1. Create a new page for displaying customer list 2. Navigate to the Customer List page 3. Deploy the Project 4. Run the Project
Next