Build your first model-driven app

In this article, you build a simple model-driven app that you can use to create, update, and delete account records as well as view data in one of the standard charts for the account table.

Simple account table app

Create your model-driven app

Note

If you plan to share and distribute the app you create, see this article: Create a model-driven app by using the app designer

  1. Sign in to Power Apps. If you don't already have a PowerApps account, you can get started free.

  2. On the Home page, select Model-driven app from blank, and then select Create.

    Start from blank model
  3. On the Create a New App page, enter the following details, and then select Done:

  • Name: Enter a name for the app, such as Account tracking.

  • Unique Name: By default, the unique name uses the name you specify in the Name box without spaces and preceded by the publisher prefix and an underscore (_). For example, crecf_Accounttracking.

  • Description: Type a short description of what the app is or does, such as This is my first app.

    Create a new app

  1. Select the Open the Site Map Designer edit button (pencil icon) to open the sitemap designer.

    Create-new-sitemap

    Notice that when you create a new app, you must first create the site map for it.

  2. On the sitemap designer, select New Subarea.

    Select new subarea

  3. In the right pane, select the Properties tab, and then select the following properties.

  • Type: Entity

  • Entity: Account

    Add components to sitemap

    When you leave the Title property blank, the app uses the table name in the app's left navigation pane. For this app, Accounts will be displayed in the app at runtime.

  1. Select Save And Close to close the sitemap designer.

    By default, all the account table's forms, views, charts, and dashboards are enabled for the app. From the app designer Components tab on the right pane, you can clear a component so it isn't available in the app at runtime. You can also create new components, such as a custom form. For this app, leave all components enabled.

  2. On the app designer toolbar, select Save.

  3. After your app is saved, on the app designer toolbar, select Publish to make it available to run and share.

Play your app

On the app designer toolbar, select Play.

  • To create a record, select + New.
  • To view a chart, on the app command bar select Show Chart.
  • To change the view, select the My Active Accounts view, and then select the view you want.
  • Simple account table app

To learn more about how to use your app, see Basic navigation in a model-driven app.

Note

Don't see any of the data in your app like in the above screenshot? This is probably because your environment database doesn't have Deploy sample apps and data provisioned. More information: Create an environment with a database

Next steps

In this article, you built a simple model-driven app.

Tip

Ready to convert your ideas into an app? Start here: Planning a Power Apps project.
For detailed information about model-driven apps and how to build it, start here: Understand model-driven app components.