Business Console 10.7 | webMethods Business Console Documentation | Developing Gadgets for Business Console | Programming Gadgets | Using Third Party Libraries in Gadgets | Including Third Party Libraries in Gadgets
 
Including Third Party Libraries in Gadgets
To include third party libraries in gadgets:
1. Save the external libraries (js files) under the scripts directory in the gadget.
2. Update the gadget-defintion.xml file of the gadget to include the library.
a. Open the gadget-defintion.xml file under the Scripts and Styles section.
b. Click Add to add the scripts to the gadget.
3. Deploy the gadget to My webMethods Server.
The external scripts will be loaded as part of your gadget. You can now add the required behavior to the gadget controller using the external scripts.