Extending CRM 2011: The Two Towers (actually there are quite a few more…) of Application Event Programming

In my previous post, I discussed the preparation for taking the Extending Microsoft Dynamics CRM 2011 certification exam.  More specifically, how I leveraged the Microsoft Official Curriculum (MOC) to prepare for the information covered in Chapter 5: Plug-ins.  In this post, I will review my preparation for Chapter 6: Application Event Programming.

As I mentioned in my previous post, Plug-ins and Application Event Programming were the chapters that I scored the poorest when answering the “Test Your Knowledge” answers at the back of each chapter in the MOC.  Hence, the focus on these areas within the training materials.  For Application Event Programming, I decided to take a two-pronged approach with both the documentation and the e-Learning.

Before I review the materials, let’s discuss what objectives are identified in this chapter:

  • Using JScript libraries
  • Explore form and field events
  • Examine the Xrm.Page object
  • Examine the Xrm.Page.context object
  • Examine the Xrm.Page.data.entity object
  • Examine the Xrm.Page.ui object
  • Explore form types
  • Examine the form event handler execution context
  • Identify how to set event dependencies
  • Evaluate how parameters can be used within Microsoft Dynamics CRM 2011 forms
  • Apply best practices when writing client-side code
  • Identify how to debug client-side code

Now there were several of these objectives that were already familiar to me, those being using Jscript libraries, form and field events, form types, and event dependencies.  The remaining content was, for the most part, new and extremely interesting information.

When I began the review of the material, I started with the e-Learning and used the MOC documentation as supplemental for additional detail.  I found this method a much better way to understand the material.  I was able to listen to the “instructor”, pause and note key pieces to fill holes in my knowledge and then continue with the “lecture”.  I find that my best method of learning is a combination of mediums, one reinforcing the other.

There are detailed labs within each chapter that are helpful, but require either a VM or other CRM 2011 environment that can be customized.  These are very helpful to reinforce the content within the chapters.

What I found most interesting in this chapter was how the Xrm.Page hierarchy supports the forms and controls as well as the manipulation of the UI and data needed to provide the customization that I have always taken for granted.  Also, how information is passed from one object to another and their context.  This is because that “just happened” after my Functional Design Document (FDD) or Technical Design Document (TDD) was sent out.  I have a much greater appreciation for my development team, and I will do more in my documentation going forward to enable them.

I retook the “Test Your Knowledge” questions from Chapters 5 & 6 after reviewing these chapters, and my scores went up from a combined 66% to an 83%…let’s hope that translates into a passing score on the exam.

Shawn (CRMHobbit)


Author: crmhobbit

The CRMhobbit (Shawn Tabor) is a Microsoft Business Solutions MVP and a Sr. Solutions Architect. He has experience implementing Dynamics 365 for Customer Engagement across various vertical industries including Financial Services, Manufacturing, Public Sector and Sports & Entertainment. Shawn specializes in the Dynamics 365 for Field Service, Project Service Automation and LinkedIn Sales Navigator solutions. The purpose of his blog is to share his knowledge, experience and thoughts regarding CRM in the hopes of benefiting those in the CRM community. If anything on this blog has helped you, please comment or rate the posts. Thank you!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s