What are model-driven apps in Power Apps?
Model-driven app design is a component-focused approach to app development. Model-driven app design doesn’t require code and the apps you make can be simple or very complex. Unlike canvas app development where the designer has complete control over app layout, with model-driven apps much of the layout is determined for you and largely designated by the components you add to the app.
Model-driven app design provides the following benefits:
- Rich component-focused no-code design environments
- Create complex responsive apps with a similar UI across a variety of devices from desktop to mobile
- Rich design capability
- Your app can be distributed as a solution
The approach to model-driven app making
At a fundamental level, model-driven app making consists of three key focus areas.
- Modeling business data
- Defining business processes
- Authoring custom pages (preview)
- Composing the app
Modeling business data
To model business data you determine what data your app will need and how that data will relate to other data. Model-driven design uses a metadata-driven architecture so that designers can customize the application without writing code. Metadata means “data about data” and it defines the structure of the data stored in the system. Tutorial: Create a custom table that has components in Power Apps
Defining business processes
Defining and enforcing consistent business processes is a key aspect of model-driven app design. Consistent processes help make sure your app users focus on their work and not on remembering to perform a set of manual steps. Processes can be simple or complex and often change over time. To create a process, from the PowerApps.com Model-driven area select > Advanced customizations > Open solution explorer. Next, on the left navigation pane in solution explorer select Processes, and then select New. More information: Business process flows overview and Apply business logic with Microsoft Dataverse.
Authoring custom pages (preview)
Model-driven apps are now getting the ability to use canvas apps natively with the introduction of the custom page. This is a new page type that is authored in the canvas app designer using flexible layout, low-code Power Fx functions, and Power Apps connectors. For more information, see Model-driven app custom page overview (preview).
Composing the model-driven app
After modeling data and defining processes, you build your app by selecting and configuring the components you need using the app designer.
If you are new to Power Apps, and want to learn about how to convert your ideas into a fully working solution using Power Apps, start with Planning a Power Apps project.