Friday, July 10, 2015

How to use XRM Service Toolkit in Microsoft Dynamcis CRM Forms??

XrmServiceToolkit is a JavaScript library which can be used for JavaScript Development under the platform for Microsoft Dynamics CRM 2011/2013/2015 environments. The library contains four major parts regarding functions.Like, General Methods used for various purpose,Rest, Soap and other jQuery extension to utilize WebResource to extend CRM 2011 / CRM 2013 / CRM 2015 including dependent OptionSet, field tooltip, add custom filter view to lookup field.

How to use the XRM Service Toolkit
  1. Download toolkit from here
  2. Extract the downloaded zip.
  3. Open the solution in Microsoft Dynamics CRM
  4. Create New web resource give its ‘Name’, ‘Display Name’, Select the ‘Script(JScript)’ from Type and then browse for the jQuery file that comes with the XRM Service Tool Kit
  5. Create two more web resource for json and XRMServiceToolKit, by repeating the step ‘4’
  6. Add all these web resources to a form in the following order:
    i. jQuery
    ii. jSon
    iii.XrmServiceToolkit
    iv.Your web resource library

Enjoy!

3 comments:

  1. I did it as you told but the problem still exists. XrmServiceToolkit is undefined

    ReplyDelete
    Replies
    1. Can you share the order of your of libraries in the form properties

      Delete
  2. Can you explain little bit about, Open the solution in Microsoft Dynamics CRM.

    ReplyDelete