webMethods Business Console Documentation 10.5 | 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.

Copyright © 2014-2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.