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


To report this post you need to login first.

3 Comments

You must be Logged on to comment or reply to a post.

Leave a Reply