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!
After I post several posts about Custom Web API (Dynamics CRM: Simplify Development with Custom API for Reusability and Get Environment Variable in a Flow using Custom Web API). You should be more clear about how to create the Custom Web API in your environment. Today, we will cover how to implement this feature effectively (real-world … Continue reading Dynamics CRM: Effective Way Calling Custom Web API In Plugin Development
In this post, we already learned how to make a plugin library for getting resx web-resource. Now we will build a simple automation program (a little bit DevOps) to read an excel file and create/update resx web-resource with a single click. Also, we will use Power Automate Desktop which enables us to a more complex scenario in … Continue reading Dynamics CRM 365: Build Automation for Create/Update RESX WebResource + Power Automate Desktop
Have you ever use Xrm.Utility.getResourceString? Xrm.Utility.getResourceString is a function that we can use in the front-end to returns the localized string for a given key associated with the specified web resource. For instance, we can use it for storing localize error messages (for validation purposes). But the problem is we only can use it in the front-end, that … Continue reading Dynamics CRM Create Plugin Helper: Duplicate Xrm.Utility.getResourceString for Plugin Side
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
As Developer, we suppose adapt ourselves to a better working framework or mindset. Following Test-Driven Development (TDD) mindset, for example, enable us to work more effectively in the long run, compare to not using it. Hence making unit tests is has become a crucial part (at least for me), and this post will explain how … Continue reading Dynamics CRM Model-Driven Apps: Setup Testing Environment with chai, Mocha, xrm-mock, and SinonJS
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 image-element if no image has been upload.Add … Continue reading Creating Better PCF Component – Part 3
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 because 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 … Continue reading Creating Better PCF Component – Part 2