Archive for Technical

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 →

Lead Qualification? We’ll skip that opportunity!

Lead Qualification? We’ll skip that opportunity!

On a recent customer upgrade from CRM 2011 to CRM 2016 Dynamics 365 we reviewed the current way of working and how this would be affected by the upgrade which spans quite a few versions. Since CRM 2013 the lead conversion process changed. The selection screen that…

Continue reading →

Creating “Not In” queries in Dynamics CRM… through marketing lists!

Creating “Not In” queries in Dynamics CRM… through marketing lists!

Today I’m going to discuss one of my favourite Interview Questions on Microsoft Dynamics CRM. While the questions is fairly simple, very few consultants are actually able to give the correct answer. How can I – as an end-user – obtain a list of all…

Continue reading →

Page 1 of 2 1 2