Create a model-driven app that has an account table page (preview)
[This topic is pre-release documentation and is subject to change.]
Model-driven app design is a component-focused approach to app development. Model-driven apps are especially well suited for process driven apps that are data dense and make it easy for users to move between related records. For example, if you are building an app to manage a complex process, such as onboarding new employees, managing a sales process, or member relationships in an organization like a bank, a model-driven app is a great choice. Model-driven apps also allow you to quickly build an app by combining components like forms, views, charts, and dashboards.
In this tutorial, you create a model-driven app by using one of the standard tables that is available in Microsoft Dataverse, the account table.
Sign in to Power Apps
Sign in to Power Apps. If you don't already have a Power Apps account, select the Get started free link.
Select the environment
An environment in Power Apps is a space to store, manage, and share your organization’s business data, apps, chatbots, and flows. It also serves as a container to separate apps that might have different roles, security requirements, or target audiences.
Each environment can have one Dataverse database.
Select the environment you want, or go to the Power Platform admin center to create a new one. You can choose the environment by selecting Environment from the upper right.
Create your model-driven app
We recommend creating your model-driven app from a solution. A solution is a package that can contain Dataverse tables, forms, views, apps, flows, and other components. By building your model driven-app in a solution, you can easily move it to other environments or preserve a copy in your source control repository.
Select Solutions on the left navigation pane, and then select New solution. More information: Create a solution.
Enter a Display name for your solution, such as Power Apps Training. Next, you add the account table that will be included in your model-driven app.
In your solution, select Add existing, and then select Table.
Under Add existing tables screen, select the Account table, and then select Next.
Select Include all components, and then select Add.
Now that you have a solution and have added the account table to it, you're ready to create a model-driven app.
In your solution, select New, select App, and then select Model-driven app.
Enter a name for the app, such as My new custom app2, and then select Create.
Add pages to your app
Next, you add a new page to the model-driven app.
Select New page from the Pages menu.
Select Table based view and form, and then select Next.
Select table such as Contact, and then select Add.
The contact form and view appear in the pages menu.
Select Contact views to display the table views and charts right pane:
- To remove a view, under In this app next to the view your want to remove select ... > Remove.
- To add a view, under Not in this app next to the view you want to add select ... > + Add.
- To edit a view, next to the view select ... > Edit or Edit in new tab.
On the app designer command bar, select Save.
Publish your app
- On the app designer command bar, select Publish.
After publishing the app, it's ready for you to run or share with others.
Run your app on a desktop computer
To run your app, sign in to Power Apps, and on the left navigation pane, select Apps.
Select the app from the app list. The app opens in your browser.
Run your app on mobile
To run your app on your mobile device, follow these steps:
Download the app from your device's mobile app store:
Open the app, tap Sign in, and then enter your Microsoft work or school account.
Select your app from the list to run it.