Notes on code and the things I build.
Nov 16, 2020
This article will give you a deep explanation (step by step) to make a better-quality PCF Component. We can make the PCF component better quality because we design the component to be testable as much as we can (It depends on your knowledge. The more knowledge you have, the more...
Nov 6, 2020
I started using Dynamics CRM in version 2013. Back then, we all know if we need some retrieving function in JavaScript, we needed to create our library (HttpRequest) or use XrmSvcToolkit. Even in XrmSvcToolkit we actually can set async to true, our tendency will straight to use...
Oct 30, 2020
In this post, we will learn about how to use formContext.data.addOnLoad and formContext.data.removeOnLoad. Generally, formContext.data.addOnLoad function is totally the same as below function (register manually from the form): So the basic question that we will ask is why we need...
Oct 23, 2020
As a developer, we need to know what tools we can use to achieve our task as efficient as possible. One of the API that now we want to learn is addOnSave. In short, addOnSave is an API that we can call to register an event to save the event to prevent or allow the changes. For...
Oct 16, 2020
Have you ever heard about SharedVariables? SharedVariables is an object in IPluginExecutionContext that allows us to set Dictionary (Key-Value) data to be used in the next event execution pipeline. Before, this object was very powerful. We can share SharedVariables across...
Jul 3, 2020
For the second part of this blog post series, we will create a more advanced scenario operation. We will create business logic for the SalesOrder to calculate total orders (SalesOrder.Amount and Sum of SalesOrderDetail.Quantity) per Customer in 1 month (based on...
Apr 25, 2020
This tutorial will show you how to create the Dynamics CRM CE Plugin using the Test-Driven-Development (TDD) process. I try to make this as a series (from Easy, Intermediate, and Advanced). I will not explain about basic of the definition of TDD because there are lots of...
Feb 5, 2020
I've read a book by Robert C. Martin book titled Clean Architecture: A Craftsman's Guide to Software Structure and Design and was amazed by one statement in the book: Don't marry the framework. Robert C. Martin Based on Uncle Bob's opinion, coupling a third-party library directly...
Oct 24, 2019
FluentValidation for me is a validation framework that enables readability and cleaner code in our application. There are a predefined set of rules that are already predefined from the framework using Lambda Expression which makes the framework more readable and very neat. For...
Sep 5, 2019
PowerApps Control Framework (PCF) is a framework that helps programmers make custom controls and use them in a Dynamics CRM environment. Even though the framework is still in the preview stage and might be changed in the future, I couldn't help myself to try this. The control...