Embedding Javascript in a Mobile application


I have some JavaScript I want to embed in my Mobile site

"<script type='text/javascript' src="ThisIsNotMyRealSource"></script>"

How do I do it? I can't use an Unescaped Expression, and I have put it in a JS file on the application, but I am not sure how to run/callit


Hello Edward,

If you already provided the file for the application (mobile has made this very easy, as you can define files and use them in the screens), to call functions in it you can use the JavaScript action that is available in mobile toolbox. Just drag & drop it and execute your JavaScript.



Eduardo Jauch


Hi Eduardo!

Cheers, I got the JavaScript to run when I put what was in the Src file in an Outsystems profile and hey presto it called the JavaScript :)