Archive for Technical

Custom virtual entity provider data source configuration

Custom virtual entity provider data source configuration

Exploring custom virtual entity provider data source configuration We were recently working on a custom virtual entity provider. While going through the Microsoft documentation https://docs.microsoft.com/en-us/dynamics365/customer-engagement/developer/virtual-entities/custom-ve-data-providers . We noticed that it’s a good starting point, but some pieces of the puzzle or missing or well hidden. As I…

Continue reading →

Dynamics 365 CE 9.x open lookup control support

Dynamics 365 CE 9.x open lookup control support

The introduction of Dynamics 365 CE version 9 brings a lot of new functionalities and changes to the table. One of those smaller changes, I really want to mention is the ability to open a lookup control to select one or more items. This is…

Continue reading →

Easy use of AliasedValue in Dynamics CRM plugins

Easy use of AliasedValue in Dynamics CRM plugins

If you’ve ever written more complex plugins that retrieve data of linked entities, chances are you’ve come across the AliasedValue object… and had a hard time with it. We’re here to help you with that! What is AliasedValue? Simply put, these AliasedValues are wrappers which…

Continue reading →

Reading Dynamics 365 system settings using Web API

Reading Dynamics 365 system settings using Web API

The dynamics 365 system settings as grown over the last couple of years, by now it contains a lot of settings that can also be useful when customizing or extending the system. Recently we needed the Bing API key (Dynamics 365 on premise) in our…

Continue reading →

Speed up your Dynamics 365 JavaScript development!

Speed up your Dynamics 365 JavaScript development!

A lot of developers that are introduced to JavaScript development in Dynamics 365 have the same first, quite negative reaction: They find it a slow process (upload, publish, Ctrl + F5). It’s too time consuming. It’s hard to debug.  … Indeed when working on bigger…

Continue reading →

Using only the first record of a result set in Logic Apps

Using only the first record of a result set in Logic Apps

Today a client requested me to provide an endpoint they could  trigger to create Trial Keys in their CRM from an external website. They pass in a product identifier (Product ID) and expect the GUID of the Trial Key as a response. My initial thought…

Continue reading →

When to use the pre-validation stage in the plugin pipeline?

When to use the pre-validation stage in the plugin pipeline?

If the purpose of your plugin is to validate (what’s in a name) data in your record or normalizing it before save, chances are you want to use the Pre-Validation stage. On a recent project, I saw people consistently doing these kinds of validations in…

Continue reading →

External assemblies in Dynamics  CRM plugins with ILMerge

External assemblies in Dynamics CRM plugins with ILMerge

A requirement that has been around since Microsoft Dynamics CRM 4 is the capability of using functionality from external assemblies in plugins. A very common example of this is using Newtonsoft.Json dll to convert REST data to Type Objects. Now, with CRM 4 On premise there was…

Continue reading →

Run workflows on child records without custom development

Run workflows on child records without custom development

Did you know you can easily start workflows on child records of your current entity without any custom development in Dynamics CRM? A typical scenario in which you would want this functionality is updating the address of your child contacts when the address of your account is…

Continue reading →

System.AggregateException on InvalidPluginExecutionException

System.AggregateException on InvalidPluginExecutionException

We recently noticed custom code on Dynamics 365 (CRM 8.2) environments threw a “System.AggregateException: One or more errors occurred.” instead of the usual IPluginException we want to display to the end user. First we did some initial tests to figure out what was happening. Then…

Continue reading →

Page 1 of 2 1 2