Clean Code

Posts in this category.

Get Environment Variable in a Flow using Custom Web API

Jun 24, 2021

Inspired by a blog post by Natraj about "Using Custom API as a trigger for Flow" that you can find here, I am thinking to create a sample collection of Custom Web API that all people can make use of/learn the code (the code design might not be suitable for you, but I open for...

Dynamics CRM Tips: Get Latest Target Entity Value in Plugin Side

May 25, 2021

Please Register for this event to learn more! If you are a Dynamics CRM Developer, you will agree with me. When creating Dynamics CRM Plugin, you will be thinking there is so much repetitive code that you need to apply when you want to do customization. Automatically what you do...

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 365 Tips: Easy Way to Get AliasedValue

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