How to use OnExternalUpdated for Dataverse Virtual Entity

When we have already set up a Virtual Table/Entity in the Dataverse, sometimes there is a scenario when a data is being updated in the source system, it also needs to trigger the Dataverse Event (that contains our custom business logic). Today, we will learn how to enable Virtual Tables to support Dataverse events. In the … Continue reading How to use OnExternalUpdated for Dataverse Virtual Entity

Dataverse: Testing Database Transactions On Custom API

After I examined the potentials of Custom API to redefine how we design the system, I was curious if Custom API will also apply database transactions following the plugin event execution pipeline (Pre Operation - Post Operation will be in the transaction. Meaning if during the process got some errors, it will able to rollback). For example, if we … Continue reading Dataverse: Testing Database Transactions On Custom API

Dynamics CRM Plugin Development: Create TracingServiceExtensions for Logging Time Information

Have you got an error request time out in the plugin? If the plugin only contains simple business logic, It will not be hard to catch the problem. But what if you got lots of business logic that updating more than one entity? Today we will create simple extension functions that you can implement to … Continue reading Dynamics CRM Plugin Development: Create TracingServiceExtensions for Logging Time Information

Dataverse DevOps: Create Tool for Auto Deployment for WebResource + PluginAssembly

One of the topics I wanted to learn and cover is how to do DevOps in a Dataverse environment. DevOps for me is an operation/process that helps to ensure smooth delivery from developer to operation (end-user). The idea is to remove all the unnecessary/recursive process and automate it so all the stakeholders can focus on … Continue reading Dataverse DevOps: Create Tool for Auto Deployment for WebResource + PluginAssembly

Dynamics CRM Entity Relationship Behavior Explained

Let's talk about Dynamics CRM Entity Relationship behavior! There are several behaviors in Dynamics CRM that we can apply to fit our requirements. With this blog post, I hope we can learn together about those options.  Create a lookup will automatically create a relationship But first, we need to understand the entity relationship. When we … Continue reading Dynamics CRM Entity Relationship Behavior Explained

Canvas Apps: Create Simple Game – Alphabet Hero

To be honest with you guys, I rarely playing with Canvas Apps. The first time I hands-on to the Canvas Apps was when Malaysia Dynamics 365 User Group App in a day event back in 2019. And then for this week's blog post because I run out of ideas while waiting on my submission for Azure … Continue reading Canvas Apps: Create Simple Game – Alphabet Hero

Dynamics CRM: Effective Way Calling Custom Web API in Javascript Development

Finally, I found how to call Custom Action from Xrm.WebApi.execute function. The funny thing is, the method has already been in place for a long time. I just realized how to call it after I have the curiosity to get the EnvironmentVariable effectively in Javascript (for calling Custom Web API in Plugin Development, you can refer to this blog … Continue reading Dynamics CRM: Effective Way Calling Custom Web API in Javascript Development

Implement Logging Using Azure Cosmos DB In Dynamics CRM Plugin

If your organization got connected with lots of source systems, the most common request from management is to log the requests and check the result from the source system so we can analyze the log/provide the log for checking process. So today, we will learn how to create a simple logging function using Azure Cosmos DB and … Continue reading Implement Logging Using Azure Cosmos DB In Dynamics CRM Plugin

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

Get Environment Variable in a Flow using Custom Web API

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 discussion for … Continue reading Get Environment Variable in a Flow using Custom Web API