Notes on code and the things I build.
Apr 2, 2021
On my blog, one of the most viewed posts is Dynamics CRM Plugin Development: Pre-Operation vs Post-Operation. This makes me realize that I need to create another blog post about plugin development, in general, to let you know the dos and don'ts in plugin development (in a general...
Mar 26, 2021
Do you know that we can do UI Testing easily in Dynamics CRM? In this blog post, we will learn about how to set up a solution project for doing UI testing using the PowerApps.UIAutomation.Api nuget package. Like the naming, UI testing means that testing that being done...
Mar 19, 2021
Do you know that in Xrm.Utility object now has a nice function called lookupObjects? When we call this function, it will help us open a nice dialog that lets us choose (single or multiple) records and return to us an array of the selected data. We can pass lots of combinations of...
Mar 12, 2021
Last week, we already learned how to build a simple code to get data from Web-API to project the result in RetriveMultiple message that you can access here. Now we will continue to implement advanced scenarios for filtering, sorting, and paginating the data. Filtering + Sorting...
Mar 5, 2021
Have you ever heard about Virtual Entity? In short, the Virtual Entity is read-only data. We can pull the data from any other data-source to Dynamics CRM to let users view the data. So now we will be experimenting create Virtual Entity and setup the code until we can see it in...
Feb 26, 2021
In my blog post, I had explained how to use setSharedVariable and getSharedVariable functions for plugin development that you can read here. When I check on the documentation in the Client API reference, we also can found there are the same functions that we can use for front-end...
Feb 20, 2021
I have a lot of experience integrating Dynamics CRM with the other source systems that required a lot of code to be built in the plugin. We need to connect to Web API > parse the response > mapping the response > then verify the result. If you ask me to do it in the code, sure it...
Feb 13, 2021
One of the hardest things to implement in Dynamics CRM is data concurrency. When multiple people are updating the same data, by default CRM will still allow it. But there is always a scenario where we want to prevent this thing and there is no simple way to implement it in...
Feb 5, 2021
Dynamics CRM introduced a preview feature (Custom API) for developers to make code reusability easier. For instance, the function that I used a lot is to take the current user's Teams. I always have a requirement if the User is under team "A", then some attributes need to be...
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...