Updated Xrm.Page Script Library Template

The latest release of the Microsoft Dynamics CRM SDK (v5.0.14) includes an update to the Xrm.Page Script Library Template. The Xrm.Page Script Library Template is a solution that helps you write and test form scripts using Visual Studio. The main improvements are:

  • New Visual Studio Project Template Extensions that support installing the Xrm.Page Script Library Template with Visual Studio 2012 and Visual Studio 2010.
  • An updated XrmPageTemplate.js library that provides more robust JavaScript IntelliSense.
  • Support for Xrm.Utility functions and the Xrm.Page.context.getClientUrl function.

When I originally released the Xrm.Page Script Library Template (almost 2 years ago now), I was somewhat disappointed that the JavaScript IntelliSense was not as robust as I had hoped. Now, though, I’m very happy to say that with Visual Studio 2012, IntelliSense for JavaScript is greatly improved. For more information, see Scott Hanselman’s video: https://www.youtube.com/watch?v=GNfDird7hWI.

For more information about the Xrm.Page Script Library Template, see the original post: JScript IntelliSense for Form Script Libraries.

Happy scripting

Jim Daly