Javascript

Posts in this category.

Dynamics CRM: addOnLookupTagClick and removeOnLookupTagClick

Feb 5, 2022

Today we will learn simple methods that are related to the datatype lookup on CRM: addOnLookupTagClick and removeOnLookupTagClick. Basically, addOnLookupTagClick is a function to register an event when the user is clicking the lookup tag value. Click the Lookup Tag value From the...

Azure-MSAL: Implement loginRedirect In Angular+Call CRM Action

Dec 31, 2021

In this blog post, we learn how to display CRM data in SPA (Vue.js). For that purpose, we are using @azure/msal-browser and calling the loginPopup method whereby as you can see in the demonstration section, it will pop up a form to do the login process. Today, we will learn how...

Dynamics CRM Client Scripting: addCustomFilter and addPreSearch

Apr 23, 2021

The most common requirement that usually we need to apply is filtering the lookup dynamically based on the state of the current attribute. For example, you have a Custom Approval entity (table) that got a lookup to Customer and Custom Document. Then when the user on the Custom...

How To Setup Bootstrap On Your PCF Project

Apr 16, 2021

How many of you already know about PCF (PowerApps Component Framework) control? A framework that lets us (developers) create customized UI to be used in PowerApps. Because we are talking about customized UI and I'm a pure programmer, making use of Bootstrap is always a way to go...

Exploration: Dynamics CRM Client Scripting - Xrm.Utility.lookupObjects

Mar 19, 2021

Do you know that in Xrm.Utility object now has a nice function called lookupObjects? When we call this function, it will help us open a nice dialog that lets us choose (single or multiple) records and return to us an array of the selected data. We can pass lots of combinations of...

My Attempt to Implement Data Concurrency In Dynamics CRM

Feb 13, 2021

One of the hardest things to implement in Dynamics CRM is data concurrency. When multiple people are updating the same data, by default CRM will still allow it. But there is always a scenario where we want to prevent this thing and there is no simple way to implement it in...