Posts tagged with this topic.
Sep 2, 2021
Last week, we learned about File DataType and created Custom API to get the FileName and the Base64String Content. Which I thought is already good enough based on the last knowledge that I knew. But then I saw a post from Daryl Labar about his XrmToolbox EarlyBound Generator...
Aug 19, 2021
Have you got an error request time out in the plugin? If the plugin only contains simple business logic, It will not be hard to catch the problem. But what if you got lots of business logic that updating more than one entity? Today we will create simple extension functions that...
Jan 29, 2021
Have you ever joined multiple tables when retrieving your data in the plugin? If so, most likely you already know what AliasedValue is all about. This post will describe when and how you can use AliasedValue. But the objective of this post is to make a simple extension to consume...
Dec 24, 2020
Now we go to the last part of the tutorial for Front-end Customization. We will implement Niam.Xrm.Client and Niam.Xrm.Client.Tests on the project we set up earlier. Niam.Xrm.Client is a framework wrapper for Xrm object that focuses on making customization easier, while...
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...
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...