Dynamics CRM: Setting ILogger With Different Azure Application Insight Subscription

When first time I saw this documentation (about sending Log to Azure Application Insight), I wanted to implement it in my environment. But when I tried to set it from Data Export (Preview) blade, we must have a subscription in the same environment (if you subscribe to Dynamics CRM using xxx@xxx.onmicrosoft.com, then you also need to create Azure … Continue reading Dynamics CRM: Setting ILogger With Different Azure Application Insight Subscription

Implement Push Changes from Dynamics CRM to Other Source Systems Using WebJobs

When we think about integrating Dynamics CRM with other source systems, we can discover there are lots of ways to do it. Today, we will cover one architecture design that we can implement if we want to push the changes from CRM to other source systems.  Design Architecture From the image above, we will use … Continue reading Implement Push Changes from Dynamics CRM to Other Source Systems Using WebJobs

Dynamics CRM: Query Hierarchical Data

Just browsing the Microsoft Documentation and am interested to know more about this post. Usually, as a Developer, I always got a requirement to take related data (parent-child) then do something with it. To fulfill that requirement, what I did was create a method that receives the parentId to take child records, and loop the … Continue reading Dynamics CRM: Query Hierarchical Data

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: Implement Feature Flags in Plugin

"Feature flags" is a mechanism to set the on/off for a feature without changing the code. You can learn more about this from a blog post here. With the Environment variable in place (which previously many organizations created their own Config Table), we can implement Feature flags in the Plugin.  Fow chart The idea is to make all … Continue reading Dynamics CRM: Implement Feature Flags in Plugin

Dynamics CRM: ExecuteBatch vs ExecuteMultipleRequest

When working with CrmServiceClient (creating integration custom app to CRM), I always pass this object as IOrganizationService. But when I try to inspect the difference between interface IOrganizationService vs CrmServiceClient class (indeed CrmServiceClient is inherited from IOrganizationService). Later on, I found the ExecuteBatch method on CrmServiceClient and ended up google it and found an article from Inogic that you can access here (from 2017!). Based on the blog post, we … Continue reading Dynamics CRM: ExecuteBatch vs ExecuteMultipleRequest

Dynamics CRM: How To Get The Secure and Unsecure Configurations List

First, before we go to the main idea, do you know about Dynamics CRM Plugin Secure/Unsecure Configuration? We can put a string value on our plugin step, then we can consume those values in our plugin code to do some logic. There are two types of configuration: Secure and Unsecure. The differentiation for these 2 configuration is how the … Continue reading Dynamics CRM: How To Get The Secure and Unsecure Configurations List

Dynamics CRM: Create Custom Autonumber Plugin Using Azure SQL Sequence

In this blog post, I reviewed the Auto Number attribute that already can handle the common scenario. There is a way to give a simple conditional Auto Number from Nishant Rana that you can read here. But what if we want to implement a more complex scenario to generate the Auto Number part for instance we … Continue reading Dynamics CRM: Create Custom Autonumber Plugin Using Azure SQL Sequence

How to use Azure Service Bus Queue and Azure Storage Queue

Let's make a different type of blog post for this week. This week, we will learn how to consume Azure Service Bus Queue and Azure Storage Queue. Both are technology stacks that sit in Azure that enable us to make queueing system. The comparisons between Azure Bus Queue and Azure Storage Queue you can check here. But for me, … Continue reading How to use Azure Service Bus Queue and Azure Storage Queue

Dynamics CRM: Proving Auto Number Data Type Is Legit!

I just saw Nishant Rana's post about the auto-number data type that you can check here. And to be honest, I just knew about it and felt intrigued to test it. My expectation was pretty low about this data type (to handle lots of requests and result to duplicate numbers in the end). TL;DR (Too Long; … Continue reading Dynamics CRM: Proving Auto Number Data Type Is Legit!