Create general structure

In this task, you learn how to create the general structure of an application with two pages.

Prerequisites

Procedure

  1. On the side menu, click Designer.

  2. On the component library, open sap.m > Layout.

  3. Drag and drop the Shell component onto the HTML5 Document in the application tree.

  4. Drag and drop the App component onto the Shell component in the application tree.

  5. Drag and drop the Page component onto the App component in the application tree.

    Result: You have created the general structure of your application.

  6. Select the Page component and, on the UI object pane, change the Name to PageContacts.

  7. On the properties pane, scroll to the title attribute and enter Contact List.

  8. Drag and drop another Page component onto the App component in the application tree.

  9. Select the Page component and, on the UI object pane, change the Name to PageAddContact.

  10. On the properties pane, scroll to the title attribute and enter New Contact.

    appdesigner shell app page

  11. On the shell bar, click Save and Activate.

Results

  • You have created a general structure for your application.

  • You have added a shell, an app, and two pages to your application.

    To preview your application, see Preview your application.