Dynamics CRM: addOnLookupTagClick and removeOnLookupTagClick

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 image above, if we click the lookup tag value and we register the events using addOnLookupTagClick, those events will be … Continue reading Dynamics CRM: addOnLookupTagClick and removeOnLookupTagClick

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

In this blog post, we learn how to display CRM data into 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 to use the loginRedirect method and handle it in Angular. … Continue reading Azure-MSAL: Implement loginRedirect In Angular+Call CRM Action

Dynamics CRM: Effective Way Calling Custom Web API in Javascript Development

Finally, I found how to call Custom Action from Xrm.WebApi.execute function. The funny thing is, the method has already been in place for a long time. I just realized how to call it after I have the curiosity to get the EnvironmentVariable effectively in Javascript (for calling Custom Web API in Plugin Development, you can refer to this blog … Continue reading Dynamics CRM: Effective Way Calling Custom Web API in Javascript Development

Dynamics CRM Client Scripting: Passing Custom Value when using Xrm.Navigation.openForm

When I check on the official documentation about Xrm.Navigation.openForm, I am interested in attribute formParameters. Where in the docs, stated that we can pass custom value from caller to the form that we want to open. The scenario of it is let's say we want to open dialog (from custom web resource) or something that temporary (not … Continue reading Dynamics CRM Client Scripting: Passing Custom Value when using Xrm.Navigation.openForm

Dynamics CRM Client Scripting: addCustomFilter and addPreSearch

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 Approval screen, you want to filter the Custom Document based on the Level field (column) that the user … Continue reading Dynamics CRM Client Scripting: addCustomFilter and addPreSearch

How To Setup Bootstrap On Your PCF Project

How many of you already know about PCF (PowerApps Component Framework) control? A framework that lets us (developer) create customize UI to be used in PowerApps. Because we are talking about customized UI and I'm a pure programmer, make use of Bootstrap is always a way to go for me. Bootstrap can help me more focus on … Continue reading How To Setup Bootstrap On Your PCF Project

Dynamics CRM Model-Driven Apps: Strategy for Multiple Environment + Solution Layering in Javascript

If you ever make a product based on Dynamics CRM and needs to use multiple environments + solutions for multiple projects. But still willing to achieve tidy + clean solutions when registering events. Here is my recommendation on how to do it without needing to heavily rely on Form registering (no need afraid that the … Continue reading Dynamics CRM Model-Driven Apps: Strategy for Multiple Environment + Solution Layering in Javascript

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

Do you know that in Xrm.Utility object now got a nice function called lookupObjects? When we called 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 parameters to make the dialog more … Continue reading Exploration: Dynamics CRM Client Scripting – Xrm.Utility.lookupObjects

Dynamics CRM Model-Driven Apps: How to use executionContext.setSharedVariable and executionContext.getSharedVariable

In my blog post, I had explained how to use setSharedVariable and getSharedVariable functions for plugin development that you can read here. When I check on the documentation in the Client API reference, we also can found there are the same functions that we can use for front-end development (JavaScript) in the executionContext. But the … Continue reading Dynamics CRM Model-Driven Apps: How to use executionContext.setSharedVariable and executionContext.getSharedVariable

My Attempt to Implement Data Concurrency In Dynamics CRM

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 various ways (using out-of-the-box … Continue reading My Attempt to Implement Data Concurrency In Dynamics CRM