Skip to Content
Author's profile photo Ravikanth M

How to Refresh the Report for every “N” Seconds in Web Intelligence

Refresh the report for every N Seconds in Web Intelligence

Dear All,

This document will give you an Information about “How to Refresh the Report automatically for every N seconds” in SAP Business Objects Web Intelligence



First open the Web Intelligence Rich Client and select the source connection and select the objects into the Result Objects Panel

Rpt 1.png

Then Run Query, after generating the report click Save the report

Rpt2.png

After that, Just reopen that same report, Go to properties–> Documents –> Select REFRESH ON OPEN and save the report again.


Rpt 3.png

After that Go to Report Elements –> Cell–> Blank and Just drag and drop the Blank in to the report panel

Rpt 4.png

Select that blank and write the code like below:

<script>

  1. self.parent._askConfirmationBeforeClosingDoc=false;

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

</script>

Rpt 5.png

But in the above screen shot “n” is the number of seconds. So, depends on the requirement can change the “n” like below.

For this select 10 sec.

Rpt 6.png

After that go to the Blank Cell and right click and select Format cell

Rpt 7.png

Then, Go to Read content as and select HTML and apply

Rpt 8.png

Just save that report and close once. Again open that same report and will see: Every 10 sec it will refresh automatically.

Rpt 9.png



Regards,

Ravikanth M


Assigned tags

      3 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member

      Hello Ravi,

      Good effort but this has been already shared by Rogerio Plank on below document.

      How to set a WEBI document to autorefresh each n seconds

      Regards

      Niraj

      Author's profile photo Former Member
      Former Member

      😉 😉 😉

      Author's profile photo Krishnaprasad MT
      Krishnaprasad MT

      Good one Ravi