When creating Dataverse Plugin, sure we always encounter a scenario where we need to retrieve attribute values of the main entity. But we want to take either from Target's attribute or PreImage/PostImage/Database's attribute. For example, if we have an entity (table) that contains Qty, Price, and Total. If the user changed the Qty attribute, we want to calculate the Total using Target.Qty * … Continue reading Dataverse Plugin Development: Simplify Your Plugin Code Using This Way!
Tag: tips
Dynamics CRM: Use OrganizationServiceContext (LINQ) to Retrieve Data + Tips
I have quite a long journey to hands-on Dynamics CRM (around six years and still counting), and I have a confession to make. I never use OrganizationServiceContext ever! This class will allow you to retrieve Dynamics CRM data using the infamous LINQ (Language-Integrated Query) which more convenient compare using to FetchXml/QueryExpression/QueryAttribute. The first thing that we must … Continue reading Dynamics CRM: Use OrganizationServiceContext (LINQ) to Retrieve Data + Tips
How to Wrapping Power Automate Cloud Flow using Azure API Management
From the last post, I got a problem when want to call Power Automate Flow using Dynamics CRM Webhook. The problem that I encounter from what I believe is because there is a certain HTTP header that CRM WebHook not sending. Hence we can't call it. George Doubinski from crmtipoftheday.com told me that suppose this action can be done … Continue reading How to Wrapping Power Automate Cloud Flow using Azure API Management
Dynamics CRM Client Scripting: Passing Custom Value when using Xrm.Navigation.openForm
When I check on the official documentation about Xrm.Navigation.openForm, I am interested in attribute formParameters. Where in the docs, stated that we can pass custom value from caller to the form that we want to open. The scenario of it is let's say we want to open dialog (from custom web resource) or something that temporary (not … Continue reading Dynamics CRM Client Scripting: Passing Custom Value when using Xrm.Navigation.openForm
Dynamics CRM Tips: Strategy For Fail-Proof Data Model
The rise of JSON (JavaScript Object Notion) is so massive and unstoppable. Just last week, on Twitter, I saw this: https://twitter.com/JamesNK/status/1389331192713945091?s=20 JSON format made it possible to do dynamics coding and hassle-free. On the other hand, how we (in the Dynamics CRM world), rely on the persistent data model and of course, the implementation of the managed … Continue reading Dynamics CRM Tips: Strategy For Fail-Proof Data Model
Dynamics CRM: Create Plugin Project Easier + Faster!
Creating plugin projects in the past is not a simple task. You need to remember a lot of steps to make it. From what I remember the steps are: Create .csproj, set .NET Framework 4.6.2, Install Microsoft.CrmSdk.CoreAssemblies, etc. You can follow this link for the detailed steps for manual creation if you want. Then I found a … Continue reading Dynamics CRM: Create Plugin Project Easier + Faster!
General Tips on Dynamics CRM Plugin Development
On my blog, one of the most viewed posts is Dynamics CRM Plugin Development: Pre-Operation vs Post-Operation. This makes me realized that I need to create another blog post about plugin development, in general, to make you know what's the dos and don'ts in plugin development (in a general way). The concepts of this blog … Continue reading General Tips on Dynamics CRM Plugin Development
Tips Model-Driven Apps Javascript: How to trigger Custom Method After Saving
Have you ever had a scenario that needs to disable all the controls in the UI after data is successfully saved? Let's say after the document State changed to Approved, then we need to disable some of the attributes in the form? If yes, then this post is about my simple tips to achieve that … Continue reading Tips Model-Driven Apps Javascript: How to trigger Custom Method After Saving