Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with OnSave event not firing on Bulk Edit Form (MS CRM 3.0)

Status
Not open for further replies.

ezq2000

Programmer
Mar 14, 2008
1
GB
Can anyone confirm whether the OnSave event on the bulk edit form actualy works? Having attached this simple peice of code to the OnSave and OnLoad events of the Contact form in CRM, the code works for OnLoad on both Create and Bulk Edit and OnSave for the Create, but not for on OnSave on the BulkEdit:

var CRM_FORM_TYPE_CREATE= 1;
var CRM_FORM_TYPE_BULK= 6;


switch (crmForm.FormType)
{
case CRM_FORM_TYPE_CREATE:
alert("This is a New form on the Save event.");
break;

case CRM_FORM_TYPE_BULK:
alert("This is a Bulk Edit form on the Save event.");
break;
}

Any ideas?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top