What Are Model-Driven Apps In Power Apps

Introduction

In this blog, we will learn the basics about the model-driven app, its advantages, and where we will use a model-driven app. At last, we will build our first custom model Driven app.

What is a model-driven App?

The model-driven app is a no-code platform to make responsive applications developed by Microsoft. Model-driven app development is a process that focuses on quickly adding Components to the application. Components include dashboards, forms, views, and Charts, etc. Using very little code, you can make different kinds of apps

Advantages of model-driven apps

  1. Here app is distributed as a solution. So, it’s becoming easy to modify the structure.
  2. Rich design capability.
  3. Completely 100% responsive UI
  4. Design an application that you want to operate without internet
  5. The connection then the model-driven app can help you out.

Where to use the model-driven app?

 If you want to build a data-focused or data-oriented application, then the model-driven app is best to use. If your main focus is on the look and feels, then you must go for Canvas app design.

Example (Employee Onboarding Process)

In this app, we will design a form with Relational Data verse and will do some logical parts along with the business flow process.

Steps to follow,

Step 1

Sign in to https://make.powerapps.com/

Step 2

Go to solutions and create a solution as per your project requirement.

After the creation of solutions build a database such as entity/table, where you will store the data.

For this application, I’ve created 2 Tables (Designation, Employee onboarding Process)


Step 3

Then create the columns as per your requirement.

Step 4

After completion go to the data and click on add a record button it will navigate you into a form that will be not structured as your columns are concerned.

Step 5

In the form, section edit the main form type.

Step 6

Then you have to adjust the form by dragging the columns from the left side tree view.

Step 7

As I’ve created two Data verses for the relation (many to one) create a lookup column on 1st Data verse Table and call that on 2nd Data verse Table.

Below is the screenshot of one Data verse Employee Onboarding Process.

After completion of all the basics go back to the solution you created and go to the new button and click on the model-driven app and choose modern apps.

Step 8

After clicking on that, it will navigate to its main UI window.

Then edit the navigate form for the dashboard which is known as the sitemap in classic apps. When everything is ready save and publish your app. And play the app, your app is ready.

In your UI form, views, Data verse part completed, then we will go for business process flow.

Log in to https://india.flow.microsoft.com/

Step 9

After logging in to the above link go to my flows, then go to business flows and choose the Data verse where you want to pass that flow. Check the screenshot below to see what flow I used in the application.

After the creation of the flow provide the required steps to the flow and save, validate the flow and activate the flow.

Step 10

And go to the app and the Data verse Table you will find the flow on that above.

Output

Conclusion

The Model-driven app is a very friendly and data-secured platform. Here the Employee Onboarding Application was completed on a model-driven approach and it works smoothly at ease.