487
Views
2
Comments
Solved
run a javascript file that is on resources
Question

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

2016-04-21 20-09-55
J.
 
MVP
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

2022-12-30 07-28-09
Navneet Garg

How can we include resource js file in reactive application ?

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.