Posts in this category.
Dec 12, 2020
Have you ever had a scenario that needs to disable all the controls in the UI after data is successfully saved? Let's say after the document State is changed to Approved, then we need to disable some of the attributes in the form? If yes, then this post is about my simple tips to...
Dec 11, 2020
First question: Why TypeScript? We know what JavaScript programming does. The programming language sometimes leads us to confusion because it's too dynamic. While TypeScript as JavaScript superset trying to fix the whole weakness that it can lead us into. TypeScript offers a more...
Nov 30, 2020
With all the things settled, now we can continue our journey to make our PCF-Component better. The last commit that we submitted, there are few things that we can enhance: When you choose an image file, then click the Submit button. We can reset the input file. Hide the...
Nov 23, 2020
When I was writing this post, I felt the environment that I set up did not enhance my ability to write code. The reason for this is that I use jsdom, which is a mock object for the HTML component. Because it is not a real object of HTML, my focus has been changed to the test code...
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...
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...
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...