Category Archives: JavaScript

Automating Diagnostic Audio Playback in Dynamics 365 using JavaScript

This technical guide explains how to play audio files stored in a Dataverse File column directly inside Dynamics 365 using JavaScript. It is intended for Dynamics 365 developers, system customizers, and solution architects who want to enhance model-driven apps with audio-based diagnostics, alerts, or voice context. Dynamics 365 is designed to organize your data. It… Read More: Automating Diagnostic Audio Playback in Dynamics 365 using JavaScript »

How to Auto-Fill Third-Party Web Forms Using Power Automate Desktop and JavaScript

In today’s digital workflows, teams across HR, operations, finance, and support deal with repetitive manual tasks every day. One of the most common inefficiencies is manually entering data into third-party web forms, especially when those portals do not provide APIs for direct integration. This repetitive work not only slows down productivity but also leads to… Read More: How to Auto-Fill Third-Party Web Forms Using Power Automate Desktop… »

How to Retrieve Entity Icons using JavaScript

Introduction In this blog, we will see how to retrieve Entity icon using the JavaScript. Recently, one of our client wanted to retrieve the related entity along with the icons of entity in the table and wanted to create the related record. Now the client wanted to identify the entities. Suppose the client has two… Read More: How to Retrieve Entity Icons using JavaScript »

Execute a workflow using Xrm.WebApi.online.execute method via JavaScript in Dynamics 365 CRM v9

Introduction In this blog, we are going to create a request using ExecuteWorkflow action and would execute the request that would execute a custom workflow. This approach would eliminate the need to create an Ajax request and is supported across web client, UCI and Mobile. For demonstration purpose, we have created a custom workflow. This… Read More: Execute a workflow using Xrm.WebApi.online.execute method via JavaScript in Dynamics… »

Retrieve Dynamics 365 CRM data in Portal by calling Odata using JavaScript

Introduction When user needs to display all the record using the “account” entity on the portal page then he can perform the retrieve operation by calling OData query using JavaScript. Working First we will create the entity list. On the entity list there is tab “OData” where we need to fill the information like “Entity… Read More: Retrieve Dynamics 365 CRM data in Portal by calling Odata… »

JavaScript: “Execution Context” provides Form Values on Web as well as UCI in Dynamics 365 v9.0

Introduction: No doubt, Microsoft Dynamics 365 v9.0 surprised us with the UCI feature which provides a generic user interface to users, this is about UI but behind the scene for developers also Microsoft provided “Execution Context” object which is a collection of array. Recently we have a business requirement to perform some action using Custom… Read More: JavaScript: “Execution Context” provides Form Values on Web as well… »

Dependent Attributes in JavaScript in Dynamics 365 v9.0

Introduction: Is Form Scripting a dreadful task, given the uncertainty that no one knows when the necessary attribute(s) for our script will be taken down from the form or it’ll be deleted completely? Well! With Dynamics 365 v9.0, we can avoid these situations in a finesse way. Apart from the ability to handle the dependent… Read More: Dependent Attributes in JavaScript in Dynamics 365 v9.0 »

Loading Dependent JavaScript Files in Dynamics 365 V9

Introduction: The latest update of Dynamics 365 has introduced a plethora of new features. Where few of the updates are related to the functionality while other few are related to UI. The CRM forms are redone, the new UI kind off bears retro look (not everyone would agree on this point). The UI feels fresh,… Read More: Loading Dependent JavaScript Files in Dynamics 365 V9 »

Error Qualifying Lead in Dynamics 365 Customer Engagement

Issue: When qualifying a lead in CRM, we receive the following error message. “Unable to get property ‘getUserPrivilege’ of undefined or null reference Script” Reason: This was a customized system and we noticed the Company and Title field were missing from the lead form. Solution: Add the fields back on the form, and if required… Read More: Error Qualifying Lead in Dynamics 365 Customer Engagement »

Resolve $ undefined error for CRM HTML web resource

It is a common requirement to integrate HTML web resource in CRM form or open an HTML web resource as a separate window to have the additional user interface. JQuery library is a common library to perform the script related operation and even to deal with HTML controls in such scenarios. Sometimes we receive error… Read More: Resolve $ undefined error for CRM HTML web resource »