Introduction:
Power Platform, Microsoft Dynamics CRM 4.0, 2011, 2013, 2015, 2016, D365 CE, C#, ASP.net and MVC, Azure
Friday, June 13, 2025
How to Send Email on Behalf of Another User - MSCRM / Power Platform
How to Use SUM, COUNT, AVERAGE, MAX, MIN in Canvas PowerApps
ClearCollect(expenses,
{Item: "Travel", Value: 100},
{Item: "Food", Value: 300 },
{Item: "Hotel", Value: 895 },
{Item: "Hotel",Value: 1300},
{Item: "Accessories", Value: 50},
{Item: "Flight", Value: 800}
);
"Count Rows : "& CountRows(expenses)
"Average : "& Average(expenses,Value)
"Max : "& Max(expenses,Value)
"Min : "& Min(expenses,Value)
"Count Rows : "& Sum(expenses,Value)
This is how we can easily configure the Expressions in PowerApps
Wednesday, June 11, 2025
Use @mention to collaborate with your team using Notes in Model-driven app/MSCRM
Introduction:
In this blog, we will see how to Use @mention to collaborate with your team using Notes in Model-driven app/ Microsoft Dynamics CRM.
Steps:
1. Navigate to https://admin.powerplatform.microsoft.com
2. Click Environments at the left side
7. Now Click Save
Wednesday, May 21, 2025
"Invalid operation performed" on Merging Account/Contact Record in MSCRM/Dataverse
Introduction:
In this blog, we will explore how to resolve the Account/Contact merge issue in Microsoft Dynamics CRM / Dataverse. We will identify the possible causes behind the error "Invalid operation performed", analyze the troubleshooting steps, and provide solutions to successfully merge records without issues.
Steps to Resolve the Account/Contact Merge Issue in CRM/Dataverse:
Navigate to your CRM/Dataverse environment.
In this case, selecting Account to merge records.
Open the Model-Driven App where the account records are located.
Select two records to be merged.
Click Merge on the Home Page.
During the merging process, the issue occurs.
Upon checking the error in the Console, the following error is displayed.
Solution to Fix the Issue:
Follow the steps below to resolve the error:
Go to https://admin.powerplatform.microsoft.com
Select Environments.
Open the environment where the error is occurring.
Click Settings.
Search for Privacy + Security.
Under Allowed MIME Types, enter application/json.
Click Save to apply the changes.
Thursday, January 16, 2025
Day 23: Creating New Records Programmatically with JavaScript in Dataverse / MSCRM
var record = {};
record.bosch_dayname = "Name of the Record"; // Text
Xrm.WebApi.createRecord("bosch_day", record).then(
function success(result) {
var newId = result.id;
console.log(newId);
},
function(error) {
console.log(error.message);
} );
You can pass different parameter based in the "record" to create with field values
Wednesday, January 15, 2025
How to Retrieve Records using FETCHXML using JavaScript in MSCRM or Dataverse
In this blog we will see how to How to Retrieve Records using FETCHXML using JavaScript in MSCRM or Dataverse
function retriveRecordusingFetchXML() {
var fetchXml = `
<fetch>
<entity name="account">
<attribute name="accountid" />
<attribute name="name" />
</entity>
</fetch>`;
var encodedFetchXML = encodeURIComponent(fetchXml);
var fetchXmlRequest = "?fetchXml=" + encodedFetchXML;
Xrm.WebApi.retrieveMultipleRecords("account", fetchXmlRequest).then(
function success(result) {
for (const record of result.entities) {
var name = record.name;
}
},
function (error) {
var alertMessage = { text: error.message };
Xrm.Navigation.openAlertDialog(alertMessage, null);
}
);
}
you can change the FetchXML based on your requirement.
Tuesday, January 7, 2025
Day 22: Fetching Records with Xrm.WebApi.retrieveRecord in Dataverse / MSCRM
In this Blog we will see how to Use Xrm.WebApi.retrieveRecord in Dataverse / MSCRM
function retreiveRecord(executionContext) {
var formContext = executionContext.getFormContext();
var getCurrentRecordid = formContext.data.entity.getId();
getCurrentRecordid = getCurrentRecordid.replace("{", "").replace("}", "");
Xrm.WebApi.retrieveRecord("TABLENAME", getCurrentRecordid , "?$select=fieldname1,fieldname2").then(
function success(result) {
console.log(result);
// Columns
var bosch_dayid = result["fieldname1"];
var bosch_dayname = result["fieldname2"];
},
function (error) {
console.log(error.message);
}
);
}
Bulk Delete Operation in Dataverse/MSCRM
Introduction: In this blog we will see how to Bulk Delete Operation in Dataverse/MSCRM Steps: Navigate to https://make.powerapps.com Cli...
-
Introduction: In this blog, we will see how to check length of List Rows in Microsoft flow. Implementation Steps: 1. Navigate to https://f...
-
Introduction: In this Blog, we will see how to Download Image from Image Field from Dataverse using PowerApps Implementation Steps: 1. Nav...
-
Introduction: In this blog we will see how to Add an Image or Icon in SUBGRID / VIEWS in Model Driven Apps or Dynamics CRM Steps to Follow: ...