Exercise - Create a model-driven app
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.
On the Home page, select the Model-driven app from blank.
Click Create.

On the Create a New App page, enter a name and description for the app.
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.
Select the Open the Site Map Designer pencil icon to open the site map designer.

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.

Select Save And Close.
In the App Designer, select Forms, and then, in the right pane under Main Forms, select the Account form.

In the App Designer, select Views, then select the following properties:
- Active Accounts
- All Accounts
- My Active Accounts
In the App Designer, select Charts, then select the Accounts by Industry chart.
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.

Trenger du hjelp? Se feilsøkingsveiledningen vår, eller send oss spesifikke tilbakemeldinger ved melde fra om et problem.