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.
Tag: Plugins
MS CRM 2011: CallerOrigin in plugins
Yesterday well-known MVP Tanguy Touzard, author of amazing tools for Dynamics CRM 4.0/2011 asked about CallerOrigin property in plugins for Dynamics CRM 2011. This property worked for CRM 4.0 and returned the source of plugin invocation (Application, AsyncService or WebService). I and Gayan suggested to use HttpContext class from System.Web namespace to check source. Today …
MS CRM 2011: Strange error during sending of an email from plugin
I had scenario when my plugin based on some condition had to send an email. I developed plugin, deployed it to server and during the testing I have got quite strange error:
MS CRM 2011: Import of marketing list members using standard import with small extensions
Unfortunately at the moment it is impossible to import Marketing Lists Members to CRM with out-of-box import. My friend, former MVP and employee of Microsoft Artem Grunin provided good approach how to eliminate this problem with small customizations and plugin.
MS CRM 2011: Error during creation of Account record – System.Data.SqlClient.SqlException (0x80131904): Cannot insert duplicate key row in object ‘dbo.EmailSearchBase’ with unique index ‘ndx_for_forward_update’
Today I have got this issue during creation of account. I have googled and found the same issue at CRM Development forum.
MS CRM 2011: Adding users to Team: Handling with plugins
Several times I have read that other developers were not able to handle event of adding users to teams with their plugins. I didn’t have any time for experiments till time I have got task to develop similar plugin.
Rollup activities for custom entities in Microsoft Dynamics CRM 4.0
Everybody who works with Microsoft Dynamics CRM knows that it is possible to see activities for special entities like contact, account or opportunity but not for custom entities. I had task to develop such kind of functionality. I proposed easier solution – report but customer wanted to have all activities in standard grid.
CRM Usage Report
One of customer wanted to have the possibility to see who and when was working in CRM. I knew that MVP David Jennaway had created such solution based on IIS’s logs. No matter how I tried – I failed to implement it. Logs weren’t written to log database. Also this approach doesn’t work in IFD …
Plugin for copying notes and attachements from lead to contact whis is converted from lead for Microsoft Dynamics CRM 4.0
I’ve been asked to write plugin for following scenario: When user converts lead to contact – all attachements and notes must be copied to retrieved contact.