Architecture

Posts in this category.

Dynamics CRM: Implement Retry Policy using Polly

Feb 19, 2022

Lately, I'm still actively thinking about designing a system that also considers error-proofing as part of the feature. For example, we want to ensure the transaction that we will execute is successful in 3 times execution. Meaning, we need to implement a retry policy that Polly...

Dynamics CRM: Implement Feature Flags in Plugin

Dec 24, 2021

"Feature flags" is a mechanism to set the on/off for a feature without changing the code. You can learn more about this from a blog post here. With the Environment variable in place (previously many organizations created their own Config Table), we can implement Feature flags in...

Dynamics CRM Webhook vs Power Automate Cloud Flow vs Plugin

Jun 10, 2021

Do you know Dynamics CRM Webhooks? The definition from the official documentation: CRM Webhooks is a feature that enables CRM to call other URLs using HTTP patterns with publish/subscribe patterns. , I do not quite agree with the definition because we still can register the...

Dynamics CRM Client Scripting: addCustomFilter and addPreSearch

Apr 23, 2021

The most common requirement that usually we need to apply is filtering the lookup dynamically based on the state of the current attribute. For example, you have a Custom Approval entity (table) that got a lookup to Customer and Custom Document. Then when the user on the Custom...

General Tips on Dynamics CRM Plugin Development

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...

Dynamics CRM: Setup PowerApps.UIAutomation.Api for The UI Testing

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...

Dynamics CRM: Simplify Development with Custom API for Reusability

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...

Architecture: Don't Marry The Framework

Feb 5, 2020

I've read a book by Robert C. Martin book titled Clean Architecture: A Craftsman's Guide to Software Structure and Design and was amazed by one statement in the book: Don't marry the framework. Robert C. Martin Based on Uncle Bob's opinion, coupling a third-party library directly...