FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
04-14-2023 10:54 AM
Is it possible to include a library (e.g. charts.js) into a customer widget, that it is installed automatically with the customer widget?
The ChartJS Demo Widget 1.3.6 only a reference to the js library is used, which means that you have to install the js library in an extra step.
Solved! Go to Solution.
04-17-2023 08:07 AM
You can do that - WebIQ doesn't know if it's a library in any way - just add it like your custom widget, BUT you should not do that!
Because that way these problems might occur:
Instead, you should create a library package that can be updated independently of your widget (loose coupling) just as we did intentionally with the ChartJS widget.
04-18-2023 08:21 PM
See WebIQ Custom Libaries for a How-To on implementing Javascript libraries