Practice Lab 3 - Create a model-driven app

Scenario

In this lab, you will create model-driven app and add tables to the app.

Contoso Real Estate wants to track two key elements:

  • Real estate property listings
  • Who is scheduled for showings of real estate properties

What you will learn

  • How to create a model-driven app
  • How to add tables to the app

High-level lab steps

  • Create a model-driven app
  • Add tables to the app

Prerequisites

  • Must have completed Lab 2: Data model

Detailed steps

Exercise 1 - Build model-driven app

In this exercise, you will create a model-driven app.

Task 1.1 – Create Property Management app

  1. Navigate to the Power Apps Maker portal https://make.powerapps.com

  2. Make sure you are in the Dev One environment.

  3. Select Solutions.

  4. Open the Property listings solution.

  5. Select + New and then select App and select Model-driven app.

    Screenshot of new model-driven app dialog.

  6. Enter Property Management for Name.

  7. Select Create.

    Screenshot of model-driven app designer.

Task 1.2 – Add tables

  1. Select the drop-down next to + Add page and select Dataverse table.

    Screenshot of add page to model-driven app dialog

  2. Enter cre_ in Search.

    Screenshot of add page to model-driven app dialog.

  3. Select Open House, Real Estate Property, and Showing.

  4. Enter account in Search and select Account.

  5. Enter contact in Search and select Contact.

  6. Select Add.

    Screenshot of model-driven app designer with tables.

  7. Select Save and Publish.

    Screenshot of save and publish icon.

Task 1.3 – Test

  1. With the Property Management app designer open, select the Play button.

  2. Navigate to Contacts.

  3. Select + New.

  4. Enter Jon for First Name.

  5. Enter Doe for Last Name

  6. Select Save & Close.

  7. Navigate to Real Estate Properties

  8. Select + New.

  9. Enter Test Property for Property Name.

  10. Select Save.

  11. Select Related and Showings.

    Screenshot of model-driven form related tables.

  12. Select + New Showing.

  13. Enter First Showing for Name.

  14. Select Save & Close.

  15. Select Save & Close.

  16. Close the app.

  17. Select <- Back in the Property Management app designer.