MDA: Testing JS changes without deploying

Our routine as Developers, if we get a new task/bug, is "change the code", "deploy", and "validate". For the front scripting, if we don't have the tool to help us update the necessary file easily, we need to open the JS component > update > deploy and publish > then go to the page that … Continue reading MDA: Testing JS changes without deploying

Advertisement

Dataverse: How to use the condition operator or in multiple tables in FetchXML

Today we will learn how to use the conditional operator "Or" when applying addPresearch in Javascript (but you also can implement it from the backend too). The scenario that we will apply is, on the Contact table, we have a lookup to Parent Contact/Account. In the below image, we can see that I prepare data … Continue reading Dataverse: How to use the condition operator or in multiple tables in FetchXML

Model-Driven Apps: Disable most recently used items programmatically

When we are talking about lookup in MDA (Model Driven Apps), sometimes we are applying some filter (either using addPreSearch or setting it manually from control properties > view) to ensure the data that the user inputted is valid: But, when we are not disabling the Most recently used items, it can ruin the filter … Continue reading Model-Driven Apps: Disable most recently used items programmatically

Model-Driven-Apps: setup deployment Angular files to Dev using spkl

Last week, we already learn how to build Angular WebResources to be shown in the side pane. In that blog post, I deploy all the files manually which of course took time to do. Today, we will learn how to optimize it in order to boost productivity. We will learn how to use spkl and … Continue reading Model-Driven-Apps: setup deployment Angular files to Dev using spkl

Dynamics CRM: Proving Auto Number Data Type Is Legit!

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!

Dynamics CRM: Effective Way Calling Custom Web API In Plugin Development

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

Dynamics CRM 365: Build Automation for Create/Update RESX WebResource + Power Automate Desktop

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

Dynamics CRM Create Plugin Helper: Duplicate Xrm.Utility.getResourceString for Plugin Side

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

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

Dynamics CRM Model-Driven Apps: Setup Testing Environment with chai, Mocha, xrm-mock, and SinonJS

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