Logging and Handling Microsoft Dynamics CRM 2013 Exceptions – Part 3

Tuesday, July 15, 2014

In the previous post I described a solution to the business problem of logging & handling implementation level exceptions (presented in the first post of this series). In this post, I will supply an actual solution, demonstrate common usage scenarios and other solution features. Before I walkthrough usage scenarios, some implementation notes: In order to support exceptions raised from transactional components (such as Plugin registered to pre/post operation stages), the LogException method in ExceptionManagement.cs file is using the ExecuteMultipleRequest class to execute the e4d_LogExceptionRequest request. As the ExecuteMultipleRequest instance is external to the Plugin transaction, it manages to create the Exception record...

Microsoft Dynamics CRM 2013 Custom Action – A Single Implementation Point

Sunday, March 16, 2014

Microsoft Dynamics CRM 2013 introduced a new member in the Processes family: Custom Actions. I see great potential in this new feature, especially as it can be easily executed (synchronously or a-synchronously) from client side code and return results. While Synchronous Workflow can also be executed from client side code, it can’t return results in an elegant manner. This Custom Action capability enables both server side and client side to share a single implementation point. Here is an example: Lets say that whenever a Contact record is created, the government id number must be validated (9 digits that...

Spot The Differences

Thursday, December 12, 2013

It has been a long time since my last post. I have been busy completing some projects and receiving my first MVP award. Now I am back. With a vengeance. This week I have been giving 3 different workshops on Microsoft Dynamics CRM 2013 aspects, the last one was yesterday. I have been using an Online deployment in my workshops, specifically, Ireland data center (crm4) and also included some screenshots in my presentations. These screenshots allow me to spot some changes applied sometime last night…   Yesterday, the Sitemap looked like this: This morning it...
no comments