Application with screen automatic show

I need to build an application where its screens must be showed automatically in a pre-defined sequence after a delay time past. It is an application to run in a smartv in a public place.How can I do this?
How about you put some javascript in your pages that have a timeout (setTimeout()) and have that code redirect to the other pages in a loop?
Hi Roberto,

We here in OutSystems have some dashboards screens showing in TVs.
The very low tech solution we did was to have a page with just preparation ending with a download node with the following (I'll just edit the urls, also the mime type needs to be set to "text/html; charset=utf-8"):

<!DOCTYPE html>
<html xmlns="">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Application Switcher</title>
var links = ["",""];
var i = 0;
var renew = setInterval(function(){
    document.getElementById("foo").src = links[i];        
    if(links.length == (i+1)){
        i = 0;
    else i++;

<iframe id="foo" src="" width="1280" height="720" ></iframe>

João Rosado
By the way, just as a warning, we found that some SmartTVs browsers have memory leaks (expecially when showing pages with Flash graphics).
In some cases after many refreshs it ends up freezing with OutOfMemory errors.

So if you end up with the same problem try adding to the script to force a refresh after a specified period of time (my example has 1hour refresh time):

setInterval(function(){ window.location.reload() }, 3600000);

João Rosado
Hi João,

Thank you very much by your valuable information. I'll analyse and to do some tests.

Best Regards,

Hi João,

In wich server directory do I copy this html script? Sorry, but I'm not a html programmer. And how do I call it from my browser?

Thank you,

Hi João,

I solved the problem copying the script to the wwwroot directory. Great! It works perfectly. However, I have a problem. When I run the application without the script, the screen stay perfect, using all tv dimensions (1920 x 1080). When I run the script (that has a frame with the same dimension) the screen growns, and only reducing the dimension frame I get the similar (but ugly) visual screen. Can you help me?


So if in the above code you set it to width="1920px" height="1080px" it gets bigger than it should?
Hi João,

I already set wiidth="1920" height="1080" (without "px" word) and the screen shows a horizontal and vertical rollout. To see all the screen I need use the rollout edges.. I attached the smart tv picture of the application running without the script, i.e, direct from the Outsystems by browser. Can this effect generated by Frame command?