Microsoft Knowledge Base Email Alertz

(926883) - Describes a problem that occurs when you use Form Assistant for a case form in Microsoft Dynamics CRM 3.0. A workaround is provided.

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 926883 - Last Review: August 21, 2007 - Revision: 1.2

Microsoft Dynamics CRM 3.0 unexpectedly runs an OnLoad client-side script two times for one task when you use Form Assistant for a case form

On This Page

SYMPTOMS

You use Form Assistant for a case form in Microsoft Dynamics CRM 3.0. However, Microsoft Dynamics CRM 3.0 unexpectedly runs an OnLoad client-side script two times for one task. Therefore, the OnLoad client-side script for the case form does not run. This problem occurs if the Follow Up item is the first item in the Form Assistant list in the case form.

WORKAROUND

To work around this problem, make sure that the Follow Up item is not the first item in the Form Assistant list in the case form. To do this, follow these steps:
  1. Click Settings, click Customization, click Customize Entities, and then double-click Case.
  2. In the Entity: Case dialog box, click Forms and Views, double-click Form.
  3. Move the position of the Due By field.
  4. Click Save and Close.
  5. On the Actions menu, click Publish.
  6. Click Save and Close.

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

MORE INFORMATION

Steps to reproduce the problem

  1. Customize the Task entity. To do this, follow these steps:
    1. Click Settings, click Customization, click Customize Entities, and then double-click Task.
    2. In the Entity: Task dialog box, click Forms and Views, double-click Form.
    3. In the Form: Task dialog box, click Form Properties.
    4. In the Form Properties dialog box, click OnLoad, and then click Edit.
    5. In the Event Detail Properties dialog box, click to select the Event is enabled check box, and then type the following code in the box for code.
      alert("This is the task form onLoad!");
    6. Click OK two times.
    7. Click Save and Close.
    8. On the Actions menu, click Publish.
    9. Click Save and Close.
  2. Customize the Case entity. To do this, follow these steps:
    1. Click Settings, click Customization, click Customize Entities, and then double-click Case.
    2. In the Entity: Case dialog box, click Forms and Views, double-click Form.
    3. In the Form: Case dialog box, click Form Properties.
    4. In the Form Properties dialog box, click OnLoad, and then click Edit.
    5. In the Event Detail Properties dialog box, click to select the Event is enabled check box, and then type the following code in the box for code.
      alert("This is the case form onLoad!");
    6. Click OK two times.
    7. Click Save and Close.
    8. On the Actions menu, click Publish.
    9. Click Save and Close.
  3. Create a new case. To do this, follow these steps:
    1. Click Service, click Cases, and then click New.
    2. In the Case: New dialog box, complete fields, and then click Save and Close.
  4. Double-click the case that you created in step 3.

APPLIES TO
  • Microsoft Dynamics CRM 3.0
Keywords: 
kbtshoot kbmbscustomization kbmbsmigrate kbbug KB926883
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate