Of course Microsoft Dynamics CRM 2011 supports the idea of using Libraries by supporting different types of webresources. Studying the SDK you´ll find serveral samples regarding using JScript and Programming Best Practices but there´s no All-in-One-Script Framework for Microsoft Dynamics CRM yet.
And this remembers me a pain, I already had developing for former versions of Microsoft Dynamics CRM. You will find a whole lot of code snippets, functions and methods. All of them solving one or more problems. While most of them works in CRM 2011 environments because of backwards compatibility, they should be converted to support Xrm.Page...References. And of course some of these snippets are using unsupported methods and if this is not documented you will get problems using the cross-browser support which is to come in Q4 2012 Service Release. Or you will end up in performance issues.
While using my own XrmJSToolkit in my projects, I started searching the Internet for useful Libraries, Script-Resources and Best-Practices, but I couldn´t find a one stop shop.
So the purpose of this article is to get an overview of great JScript Libraries you can use in your projects, test and demo environments. You will find an overview of already build functions and methods you don´t need to develop yourself. And maybe it is a starting point building a jquery-like Framework for Microsoft Dynamics CRM.
Microsoft itself started building the Xrm.Utility Functions with Update Rollup 8 and will extend these with the next Service Releases and Update Rollups. But there´re more Libraries containing great functions, methods and time savers I´ve listed below.
URL | Name | Functions / Methods | X-Browser Support |
Link | Xrm.Utility |
|
yes |
Link | SDK.REST.js |
|
yes |
Link | SDK.MetaData.js |
|
yes |
Link | SDK.DependentOptionSet |
|
yes |
Link | XrmServiceToolkit | Common Functions
Rest Functions
Soap Functions
Extension Functions
|
not fully supported yet |
Link | XrmSvcToolkit |
|
|
Link | CrmFetchkit.js |
|
yes |
Link | CrmRestkit |
|
yes |
Link | EBDDCRM.LibreriaJS |
|
|
Link |
CWS.CRM.Utils.js |
|
Hope you like this overview. Enjoy customizing your xRM Framework.