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.

Model-Driven Apps are built on top of the Dataverse platform.

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.

 Model Driven App is mainly divided into 3 part:
- Area
- Group
- Sub Area


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.

Now finally your application looks like.



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.

Friday, January 24, 2025

What Is Solution In Dynamics 365 CRM & How To Create?

 In this Post we are going to Explain.
What is Solution in Dynamics 365 CRM & How to Create? 

A solution in Dynamics 365 CRM is a container that holds customizations and components like entities, fields, workflows, and dashboards. It allows for packaging and moving configurations between different environments, such as from development to production.

Solution is a space or container present inside particular environment used to store and manage customization and components.
It’s like a package which holds changes we make to system.

To create Solution go to make.powerapps.com => Environment => Solution.

1. Click on "New" to Create a Solution.
2. Enter Solution Details (Display Name, Name, Publisher, Version). 
3. Select a Publisher or Create a New One (if required).
4.  Create the Solution and Publish.

See the Another Example.


What Is Publisher & How To create It ?

In This Post We Are Going To Explain. What is Publisher?

A Publisher in Dynamics 365 CRM represents the owner or creator of a solution. It helps ensure that custom components (e.g., entities, fields, option sets) have unique prefixes to avoid conflicts with components from other solutions.

Each publisher is associated with a prefix and an option set value prefix that is automatically applied to components created under the solution.

➢ Step to Create Publisher :

 1) First Login into Dynamics 365 CRM Account 

2) Click on Setting Gear Icon 

3)Go to Advanced Settings 















4) In Customization Area Click on Customizations

 5) Click on Publisher And Create a New Publisher



6) Fill in Details: Display Name, Name, Prefix 

7) Save 

Monday, January 20, 2025

Explain The Modules of Dynamics 365 CRM

 In This Post We are going to " Explain the Modules of Dynamics 365 CRM : Sales, Service, & Marketing." 

Modules in Dynamics 365 CRM :

Sales Module:
Sales module are used to sales the Products to the customers. by using this module you can track all the process of the sales activities. The Sales module focuses on converting leads into customers (Contacts or Accounts) and managing opportunities associated with them.

Opportunities typically go through various stages in the sales process. Within an opportunity, you can create related quotes, orders, and invoices to facilitate the sale of products or services.

This module streamlines the entire sales lifecycle, helping businesses close deals efficiently Sales module are used to sales the Products to the customers. by using this module you can track all the process of the sales activities.

➢ Capture Lead → Follow Up → Qualify or Disqualify Lead 

1) Contact Setup 

What Is Dynamics 365 CRM/CE?

 In this post we are going to explain what is Dynamics 365 CRM/CE.

Dynamics 365 CRM (Customer Relationship Management) is a cloud-based application which is developed by Microsoft,  designed to help businesses manage customer relationships, streamline business processes, and improve sales, marketing, and customer service operations. 

Dynamics 365 CE (Customer Engagement) refers specifically to the customer-facing modules within Dynamics 365 CRM, including Sales, Marketing, Customer Service, Field Service, and Project Operations. CE focuses on improving customer interactions and engagement.

Customers Into Dynamics 365CRM/CE:
In the Dynamics 365 CRM/CE you can add the customer at two level.
1. Account :
If your customer is an any organization or Company then add these details into Account table/entity.
2. Contact :
If your customer is a single person or individual then add these details into Contact table/entity.

 ➢ Modules in Dynamics 365 CRM / CE: 

❖ Sales: Sales module are used to sales the Product to the customers. In this module you ca track all the process of the sales. Manages the entire sales lifecycle, from lead generation to opportunity management and closing deals. below are the some tables involved into Sales modules.
1. Lead
2. Opportunity
3. Quotes
4. Order
5. Invoice

 ❖ Marketing: Marketing module are used to do the marketing of the Products, In this module you can track all the operations and activities of Marketing. Automates marketing campaigns, tracks customer engagement, and helps nurture leads through personalized messaging. 
1. Marketing List
2. Campaign



 ❖ Service: Service Module are used to provide the services to the Customers. Manages customer support activities, case resolutions, & service requests, customers receive timely responses and support.
 below are the some tables involved into Sales modules.
1. Case
2. Queue



 ❖ Field Service (Part of CE): Helps businesses efficiently manage on-site services by streamlining work order creation, scheduling, resource allocation, and equipment maintenance. 

 ❖ Project Operations (Part of CE): Enables organizations to plan, execute, and manage project based services, including resource scheduling, budgeting, and tracking project progress. 

Sunday, January 19, 2025

Read And Write The Dynamics 365 CRM Multi Select Option Set Field Using Java Script

Follow below code to read and write the Multi Select Option Set field of Dynamics 365 CRM.

1. To Read the value:
Below code are read the Name field value and store into empCourses variable.

var empCourses = formContext.getAttribute("min_courses")?.getValue();


2. To Set/Update value:
Below code will be check the Name field contains data, if it contains then set/update the address1 field value.

if (empCourses !== null && empCourses !== undefined)
{
    formContext.getAttribute("min_courses1").setValue(empCourses);
}

Friday, January 17, 2025

Read And Write The Dynamics 365 CRM Date and Time Field Using Java Script

  Follow below code to read and write the Date and Time field of Dynamics 365 CRM.

1. To Read the value:
Below code are read the Name field value and store into empDOB variable.

var empDOB = formContext.getAttribute("min_dob").getValue();


2. To Set/Update value:
Below code will be check the Name field contains data, if it contains then set/update the min_dob1 field value.

if (empDOB !== null && empDOB !== undefined)
{
    formContext.getAttribute("min_dob1").setValue(empDOB);
}

Hide And Show The Dynamics 365 CRM Button Based On Logged In User Security Roles

 In this post I am going to explain how you will hide and show the Ribbon/Command buttons based on logged in user security rule. I have one ...