Right Stuff

logo

Showing posts with label Contributed by - Mr.Aslam Nagarboudi. Show all posts
Showing posts with label Contributed by - Mr.Aslam Nagarboudi. Show all posts

Tuesday, November 9, 2010

Debugging of JS in MS CRM 4.0

To debug a JS of MSCRM 4.0


First Step

Go to Tools --> Internet Options --> Under Advance tab uncheck "Disable Script Debugging (Internet Explorer)"


Second Step

Whenever you place any JS on any of the event in a form. Just type debugger at the start of the Js

Ex: debugger;

var Feild = crmform.all.feildname.value

if (----)
{
---
---
}

When published entity is run at that time a window will pop up depending upon the events, saying to debug the Js in MS Visual Studio.