Microsoft Dynamics CRM 2011

Microsoft Dynamics CRM 2011

Wednesday, December 30, 2020

How to find and debug your custom Javascript files in Dynamics CRM / 365

In this article we describe Step by step How to find and debug your custom Javascript files in Dynamics CRM / 365 in 5 minutes.
After you have coded you javascript files, you want to find them for debugging purposes. It could be a not easy task to find them between the hundreds of source files that Dynamics 365 will load to the browser:




How to find and debug your custom Javascript files in Dynamics CRM / 365

To debug quickly your javascript files, just follow this steps:

1) Open the FORM of the Entity your are working on, and go to the Properties of the Form. Open the Web Resources and find the JAVASCRIPT LIBRARY that you want to debug. Double-click it to open the editor:



2) Once opened the Editor, type into your  javascript file , the "debugger; " command:



3) Save it, save the Form, Publish it and open the Developer's Tools of the browser:


4) Then , just perform the Click or anything else that would trigger your javascript code: from here, you can add breakpoints to stop the script execution.
That's all...
In this article we've seen Step by step How to find and debug your custom Javascript files in Dynamics CRM / 365 in 5 minutes.
Enjoy Microsoft Dynamics 365 CRM!

by Carmel Schvartzman

כתב: כרמל שוורצמן










    Saturday, March 21, 2020

    SOLVED ERROR "There is a problem communicating with the Microsoft CRM Server" when configuring Microsoft Dynamics CRM for Outlook

    In this article we describe Step by step How to solve the ERROR "There is a problem communicating with the Microsoft CRM Server"  when configuring Microsoft Dynamics CRM for Outlook.
    This error can occur during/after the installation the Microsoft Dynamics CRM client addon for Microsoft Office Outlook.After getting this message, you might this other one, while clicking the OK button:
    "An error occurred loading Microsoft CRM functionality. Try restarting Microsoft Outlook. Contact your system administrator if error persists."



     How to solve the ERROR "There is a problem communicating with the Microsoft CRM Server"  when configuring Microsoft Dynamics CRM for Outlook



    To resolve this problem, follow this steps:

    1) Open the IE Options,and click the Security tab. Click Local intranet >> Sites, and then Advanced.
    Then type the IP of the Microsoft CRM server, and click OK three times. Restart Microsoft Outlook.


    2) Open regedit, and locate the following subkey: HKEY_CURRENT_USER\ Software\Microsoft\MSCRMClient. There, check for the correct URL of your Microsoft CRM server.

    If these steps were NOT enought , continue with the following:

    3) Inside Dynamics CRM, open Settings >> Business Unit Settings >>  Users, and locate the user who is experiencing this error. Click the information side tab, and there clear the Restricted Access Mode check box.

    4) Open CONTROL from the Start of your PC, and open User Accounts >>> Advanced tab.
    Click Manage Passwords, and proceed to delete all CRM passwords and usernames there.


    That's all...
    In this article we've seen Step by step  How to solve the ERROR "There is a problem communicating with the Microsoft CRM Server"  when configuring Microsoft Dynamics CRM for Outlook.
    Enjoy Microsoft Dynamics 365 CRM!

    by Carmel Schvartzman

    כתב: כרמל שוורצמן