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 Blank app.

  2. Find Blank app based on Dataverse and then select 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 Create. Your new app appears in the App Designer, and you can now add components to it.

Add a page to your app

You add pages to your app within the App Designer.

  1. Select Add Page.

    Screenshot of the Site Map Designer view.

  2. Select Table based view and form, and then select Next. Afterwards, select Account and then Add.

    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 Add table view screen with Account selected.

Here you can explore your My Active Accounts view and the Account form that is automatically created when your Dataverse instance is initialized.

Edit your form

You've successfully added a form to your app, now we'll edit them.

  1. Navigate to https://make.powerapps.com.

  2. Select Dataverse, then Tables.

  3. Select the Account table.

  4. Under Data experiences, select Forms.

    Screenshot of the Model Driven home page with Forms outlined.

  5. In this page you can adjust Form Settings, Add components, fields, business rules, event handlers, custom form libraries, edit table columns and more.

Edit views

  1. Navigate to https://make.powerapps.com.

  2. Select Dataverse, then Tables.

  3. Select the Account table.

  4. Under Data experiences, select Views.

  5. You'll see a list of all the views that you can edit. The default view that is added when you added the Account page to your app is My Active Accounts.

  6. Select My Active Accounts to edit the view.

  7. On this page, you can edit which fields will show up on this view, what filters will be applied, default sort order, the order of your columns, and the width of your columns.

    Screenshot showing the view of My Active Accounts.

Publish your app

On the App Designer toolbar, select Publish in the top right corner. 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 doesn't have an Industry populated, go into a few accounts and add an Industry. Once you've updated a few accounts with an industry the chart will update as well. Once populated, your chart will look similar to the chart below.

Screenshot of updated chart with industry populated.