HOWTO access external js from scriptTask script (not form)

Hi! In embedded forms I can access external script this way:

<form role='form' class='form-horizontal'>
    <script src='../path/to/some.js'></script>
    <script cam-script type='text/form-script'>

How to access external js from the embedded js script (I mean scriptTask task)?

Have found:


does the job.

1 Like

Thanks for posting the solution you found!