How do you have multiple javascript libraries in Dynamics CRM 2011

前端 未结 3 1821
广开言路
广开言路 2021-02-10 07:41

Right I am creating a method which adds an Account to Dynamics CRM with an Ajax POST to a built in webservice, the code is as follows :

var context = GetGlobalC         


        
相关标签:
3条回答
  • 2021-02-10 08:06

    Use a JS Package/Dependency manager like Jingo.js

    0 讨论(0)
  • 2021-02-10 08:08

    Make sure all other depending JavaScipt libraries are loaded before this javascipt and you have to maintain the depending javascript precedence. Since you are using Json and JQuery libraries you have to load those libaries first. Also if you are using any function of some other library it has to be loaded (it should be in the top of the list) before this javascript.

    0 讨论(0)
  • 2021-02-10 08:24

    Just upload those libraries as additional Web Resources. On the customizations for the form, you can choose which libraries get loaded on the form. Just make sure your JSON and jQuery libraries are loaded before your custom code, and you should be fine.

    0 讨论(0)
提交回复
热议问题