Saturday, February 1, 2025

What Is A Model-Driven App In Power Platform?

 

A Model-Driven App is a type of app in Microsoft Power Platform that focuses on Data-first design and leverages Data verse for its backend. Model-Driven Apps are responsive, scalable, and offer robust functionality without requiring extensive coding. It is based on a predefined data model, allowing users to interact with structured data through forms, views, dashboards, and business logic.

Uses Data verse tables for managing data.  Includes standard UI elements like forms, views, dashboards, and charts. Automatically adapts to devices (desktop, tablet, or mobile). Supports workflows, business rules, and process flows. Role-based access and data protection.

 

Steps to Create a Model-Driven App

1. Access the Power Apps Maker Portal



2. Start Creating the App

  • In the left-hand menu, click on Apps.
  • Click the + New app button and select Model-driven app.


3. Provide App Details

  • Enter the following information:
    • Name: Provide a name for your app (e.g., "Customer Management App").
    • Description: (Optional) Add a description of the app.
  • Click Create to proceed.
Click on Settings => Click on Navigation => Check "Enable Area".


Rename the Area:

Add the Groups into Areas => First Select Area => Click on Navigation three Dot => New Group

Rename the Group as Customer:
Now add the Sub Are into Group => Click on Group three Dot => Click on New Page 



Now Select Dataverse table
Noe select the Tables you want to Add.
Now Save your App  by clicking on Save icon.

Now Publish your App changes.



Now Publish and continue.


Now Play/Open your App.



4. Define the App Components

After creating the app, you will be directed to the App Designer to configure its components:

a. Choose Data verse Tables
  • Click Add tables in the App Designer.
  • Select the tables you want to include in the app. For example:
    • Account
    • Contact
    • Opportunity
  • Click Add to include them.
b. Add Navigation
  • In the Site Map Designer:
    • Define the navigation structure of your app.
    • Drag and drop components like Areas, Groups, and Subareas to create a logical navigation hierarchy.
    • For example:
      • Area: Sales
      • Group: Customer Management
      • Subareas: Accounts, Contacts, Opportunities.
    • Link the subareas to their respective tables.
c. Configure Views and Forms
  • Select which views and forms of the tables will be available in the app.
    • For example, you can include "Active Accounts" and "All Accounts" views for the Account table.
    • Add or edit forms as needed (e.g., Main Form, Quick View Form).
d. Add Dashboards (Optional)
  • To provide users with visual summaries:
    • Click Dashboards in the App Designer.
    • Add existing dashboards or create new ones with charts and lists.

5. Configure Security Roles

  • Assign security roles to control who can access the app.
  • Click Manage roles in the App Designer and select the roles (e.g., Sales Manager, Customer Service Representative).

6. Save and Publish the App

  • Click Save to save your changes.
  • Click Publish to make the app live for assigned users.

7. Test the App

  • Open the app from the Apps section in Power Apps Maker Portal.
  • Verify that the navigation, forms, and views work as expected.
  • Adjust the configuration as needed.

No comments:

Post a Comment

What Is A Column In Dynamics 365 CRM?

 In This Post we are going to Explain