How to Run the Custom Code Validation Tool in Dynamics CRM

Microsoft released the Custom Code Validation Tool to help us identify JavaScript that will need to be updated to be supported with the newest versions of CRM.

If you are visiting us in the future, try searching for "Custom Code Validation <future CRM version>" to find the most current version of the tool.

To run the tool:

  1. Double click the downloaded file to extract the contents. (There is a handy ReadMe file that describes what the tool is looking for).
  2. Go to the Solutions area of your CRM organization and choose Import.
  3. Import the .zip file that was extracted in the first step.
  4. When the import is complete, click Publish and then close the import window when it's finished.
  5. In the Solutions list you will now see Custom Code Validation Tool. Double click it, and then click the button to launch the tool.

    The tool will return a list of all of your Web Resources in the top left corner, the script in the middle pane and the test results in the bottom pane. A key in the top right corner will tell you how to read the results.

How to Run the Custom Code Validation Tool in Dynamics CRM

6. Go through each web resource in the list. The items in red have to be resolved. The items in blue impact cross browser support, but should work in Internet Explorer.

That's all it takes to run the custom code validation tool for Microsoft Dynamics CRM. If you would like PowerObjects' assistance in remediating JavaScript issues for your upgrade, please contact your Account Manager or our support staff.

Happy CRM'ing!