Is there a way to force load javascript in the screen?We notice that after deployment, new scripts are not loaded on the first time opening the screen. But after refreshing, or going back to the screen, the scripts are loaded as normal.
Hi Keanu,
Please look at your question and think how the community could help, it lacks all details.
Regards,
Daniel
Hi
Yes you can. First add your JS under scripts folder in interface. Then in the required scripts dropdown if you add the script from Scripts folder of interface then it will always run before screen loads
I hope it will help you.
Regards
Murali
We are running into an odd issue where the RequiredScript on the Screen isn't working so we have to run a RequireScript in the OnInitialize of the screen itself for some highcharts JS. We currently have this working as a workaround if anyone else encounters this issue but any insight into why the Screen's settings aren't working?
This setup throws the following error : "
Highcharts error #17: www.highcharts.com/errors/17/?missingModuleFor=gauge
- missingModuleFor: gauge "
But this allows us to properly load the Gauage widget from HighCharts