Dynamics CRM Plugin Development: Exploring File and Image DataType

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 improvement around four months ago that said it will generate File attribute … Continue reading Dynamics CRM Plugin Development: Exploring File and Image DataType

Dynamics CRM Plugin Development: Create TracingServiceExtensions for Logging Time Information

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 you can implement to … Continue reading Dynamics CRM Plugin Development: Create TracingServiceExtensions for Logging Time Information

Dynamics CRM 365 Tips: Easy Way to Get AliasedValue

Have you ever join multiple tables when retrieving your data in the plugin? If so, most likely you already know what is 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 AliasedValue easier. And like usual, I'll show you how … Continue reading Dynamics CRM 365 Tips: Easy Way to Get AliasedValue

Dynamics CRM Model-Driven Apps: Implement Niam.Xrm.Client and Niam.Xrm.Client.Test

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 make customization easier, while Niam.Xrm.Client.Tests will mainly focus on Xrm.webApi mock objects and testing related helpers. Both packages are in beta versions but … Continue reading Dynamics CRM Model-Driven Apps: Implement Niam.Xrm.Client and Niam.Xrm.Client.Test

Tips Model-Driven Apps Javascript: How to trigger Custom Method After Saving

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 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 achieve that … Continue reading Tips Model-Driven Apps Javascript: How to trigger Custom Method After Saving

Creating Better PCF Component – Part 1

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 sophisticated the result). To … Continue reading Creating Better PCF Component – Part 1

Dynamics CRM Model Driven Apps: Simple Tips for registering events in Form

I started using Dynamics CRM in version 2013. Back then, we all know if we need some retrieving function in JavaScript, we need to create our library (HttpRequest) or using XrmSvcToolkit. Even in XrmSvcToolkit we actually can set async to true, our tendency will straight to use it as sync. And this concept is the … Continue reading Dynamics CRM Model Driven Apps: Simple Tips for registering events in Form

Dynamics CRM Model Driven Apps: Make use of addOnLoad and removeOnLoad

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 with below function (register manually from form): So the basic question that we will ask is why we need this API? For me, I will use this API if I have dynamic requirements. Last time, … Continue reading Dynamics CRM Model Driven Apps: Make use of addOnLoad and removeOnLoad