Skip navigation
All People > thiagojoseoliveira > Blog de Thiago Oliveira > 2016 > August > 23

Blog de Thiago Oliveira

August 23, 2016 Previous day Next day

This post shows how to refresh a WEBI report automatically, this one can be used on operational dashboards to the Service Management:

 

- Create a new document and set it to refresh on open;

 

- Drag a blank cell over the report and set its text to:

 

  <script>

  self.parent._askConfirmationBeforeClosingDoc=false;

  setInterval(function(){window.parent.parent.location.reload();},n*1000);

  </script>

 

>> Where "n" is the number of secons to refresh.

 

Save the report.

 

Re-open , right click on the blank cell inserted , choose 'Format Cell' and under 'Read content as' choose HTML.

 

Save the report again.

 

That´s it, it will refresh each n seconds without manual intervention.