Blog

Customization

Microsoft CRM 2011/2013: Colorizing Service Calendar

This is how standard service calendar looks like: Today I was asked by a customer if it is possible to change the colorizing schema of Service Calendar. I started to look for information about it and found the following article – http://msdn.microsoft.com/en-us/library/gg309501.aspx Unfortunately, I wasn’t able to understand how to do it on my first …

Customization

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 …

Development

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 …

Development

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 …

Development

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 …

Deployment

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:

Deployment

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 …