Microsoft CRM 2013: Adding standard Bing Map control to forms of custom entities

In CRM 2013 Microsoft released a really great feature – OOB integration with BingMaps. Unfortunately, the list of entities that support BingMaps control is limited to Account, Contact, Lead, Quote, Order, Invoice, Competitor, and System User. I did a little investigation into how this control is organized and I can confirm that it is possible …


Actions: usage of input/output arguments in plugins that handle Actions

The main message is that input/output arguments are available in the InputParameters/OutputParameters’ collections of PluginExecutionContext. Usage of Input argument The following code shows how to check that the Input Argument was passed and got value:

Usage of Output Argument The following code shows how to set the Output argument:

One thing you should …


Actions, input parameters and “Object reference not set to an instance of an object” exception

While playing with Actions, I wrote a simple .Net code that invoked the execution of an Action:

During testing, I got a really weird and unclear error – “Object reference not set to an instance of an object.”:

Development, Howto

Microsoft Dynamics CRM 2013: Actions: deployment of plugins through CRM Developer Toolkit

I played with the new version of the CRM Developer Toolkit and wasn’t able to find a way to register a plugin that handles the action using UI. The following post describes the workaround how to make it possible.

Development, Howto

Microsoft Dynamics CRM 2013: Actions walkthrough for .Net and JavaScript developers

I believe that almost every developer for Dynamics CRM has faced a scenario where he/she had to invoke some complex logic on a server side, pass parameters and receive a response back. Before CRM 2013, we used workarounds similar to this one. When Dynamics CRM 2013 was released, we got a solution that would not …


Update of Latitude/Longitude fields using BingMaps services through SSIS Integration Toolkit

In the current project I’m working on, I have to update Latitude/Longitude fields of all account records based on their addresses. I’ve done similar tasks several times before, but this time I decided to create an SSIS package that could be reused in future projects. So in this article I will share with my results …


Microsoft Dynamics CRM 2011: Error after applying Update Rollup 12/13

I haven’t updated my VM to latest updates for a long time and I decided to do that today. After Rollup was installed, I saw message that said Rollup was not applied to one or several organizations. I ignored that message and tried to log into CRM. I got following error:


MS CRM 2011: Add new Deployment Administrator through SQL

Here is a short script that has to be executed against MSCRM_Config db to add a new deployment administrator:

So the only thing you need to do is to put a domain name of the new deployment administrator in a format DOMAIN\Login like Contoso\Administrator. This trick is 100% unsupported and can lead to a …


Customer Portal – switching authentication from LiveId to Forms

I got a requirement from one of my clients to create a customer portal. It was my first experience with portals, so I decided not to build a custom website but to install and configure Customer Portal. I won’t explain how to install and configure this solution – it is well described. Once it was …