O'Reilly logo

Microsoft Dynamics CRM 2011 Scripting Cookbook by Nicolae Tarla

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Error logging

Dynamics CRM 2011 does not provide a direct way to add and track your own custom error messages. While the default logs will track and log errors as they occur, sometimes it's not the easiest way to debug. In order for us simplify the task of debugging and logging your specific error messages, we can take a different approach.

Getting ready

For the purpose of this recipe we will create a new solution. Using your current environment, or a new online instance, create a solution called Chapter6. This solution will use the latest version of JSON and jQuery libraries.

How to do it...

Within the newly created solution, let's focus our attention on the Account entity. We will capture our debug and error messages generated by a script in this ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required