Thursday, July 29, 2021

How to build a model-driven app

 How to build a model-driven app

What is Model-Driven App:-
Model-driven app design is a component-focused approach to app development. using Model-driven app you can make  simple to very complex app. model-driven apps and largely designated by the components you add to the app.


 

Building blocks of model-driven apps:-

Data:

The table below shows the different data components that can make up a model-driven app which can determine what data the app will be based upon. It also shows what designer is used to create or edit the data component.

User interface:

The table below shows the user interface components which determine how users will interact with the app and what designer is used to create or edit the component.


Visualization:

The visualization components determine what type of data and reporting the app will show and have available and which designer is used to create or edit that component.



Create a model driven app:-

  • Sign in to Power Apps by using your organizational account.
  • Select the environment you want, or go to the Power Apps admin center to create a new one.
  • On the Home page, select 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
             Entity: Account

  • 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 And Close.

Create a form:-

  1. On the left navigation pane, expand Data, and then select Tables.

  2. Select a table, such as the account table, and then select the Forms tab.

  3. Select Add form, and then select one of the following

    • Main form The contents of the new form are filled using the existing main form definition. If multiple main forms exist, the form at the top of the list in the form order is used to fill the new form.

    • Quick create form

    • Quick view form

  4. When you are done making changes to the form, select Save to save the form.

Publish your app:-

On the App Designer toolbar, select Publish. After you publish the app, it is ready for you to run or share with others.

No comments:

Post a Comment

Introduction to Power BI

    Introduction to Power BI What is BI? Business intelligence is a technology-driven method that helps you to analyze data and to provide a...