Exercise - Create a model-driven app

Completed

Create a model-driven app

In this unit, you'll create a model-driven app by using one of the standard tables available in your Microsoft Power Apps environment.

  1. On the Home page, select the Model-driven app from blank.

  2. Click Create.

    Screenshot of the Model-driven app from blank feature.

  3. On the Create a New App page, enter a name and description for the app.

  4. Select Done. Your new app appears in the App Designer, and you can now add components to it.

Add components to your app

You add components to your app by using the App Designer.

  1. Select the Open the Site Map Designer pencil icon to open the site map designer.

    Screenshot of the Site Map Designer view.

  2. In the site map designer, select New Subarea, and then, in the right pane on the Properties tab, select the following properties:

    • Type: Entity
    • Table: Account

    Note

    If Account is not an option as a table, you may not have any sample data in your environment. Refer to this exercise on how to create sample apps and data.

    Screenshot of the Properties tab with type and table set.

  3. Select Save And Close.

  4. In the App Designer, select Forms, and then, in the right pane under Main Forms, select the Account form.

    Screenshot of the Main Forms with Account form selected.

  5. In the App Designer, select Views, then select the following properties:

    • Active Accounts
    • All Accounts
    • My Active Accounts
  6. In the App Designer, select Charts, then select the Accounts by Industry chart.

  7. On the App Designer toolbar, select Save.

Publish your app

On the App Designer toolbar, select Publish. After you publish the app, it's ready for you to run or share with others.

Above My Active Accounts, select Show Chart.

If the sample data for your accounts does not have an Industry populated, go into a few accounts and add an Industry. Once you have updated a few accounts with an industry the chart will update as well.

Screenshot of updated chart with industry populated.