run a javascript file that is on resources

I need to execute a JavaScript file, I already add to the resources folder put a Deploy Action(Deploy to target Directory). How can I access to run it in the preparation to use the functions?

i saw this post on form but i dont know how to acess using relative URL or a Runtime Path can you give me an exemple?

https://www.outsystems.com/forums/discussion/35209/adding-a-external-js-javascript-file-to-web-application/


note i m using a traditional web dev module

Solution

you should by including it on the page with

<script type="text/javascript" src="/espace/resourcepath/yourfile.js"></script>

in an expression for example.

the  you should be able to access it with your javascript

Solution