APEX-AT-WORK no image

Automatic refresh of Interactive reports (IRR)

Von Tobias Arnhold 8.06.2009
You have maybe heard how to refresh a page within a time period: Page auto refresh
I had the requirement to do this just within an Interactive report (IRR). It was a bit tricky but I could solve it.
Just add the following code into the page header:

<script type="text/javascript">
// automatic reload IRR
function fnc_reloadIRR () {
// start IRR reload
gReport.search('SEARCH');
// repeat search after 30 seconds
window.setTimeout(fnc_reloadIRR, 30000);
};
// start function the first time after 20 seconds
window.setTimeout(fnc_reloadIRR, 20000);
</script>


More details about this solution here: IRR (Interactive report) auto refresh

Update 27.02.2010
Instead of using gReport.search('SEARCH'); you could also try this: gReport.pull();
Here another interesting link about modifying Interactive Reports: Interactive Reports, Handy Tips Part 1

Post Tags:

13 Comments " Automatic refresh of Interactive reports (IRR) "

Louis-Guillaume Carrier-Bédard 06 August, 2009 19:38

Tobias,

You can also use the function setInterval().

Have a nice day,
L-G

Rutger 30 September, 2009 12:34

Tobias,

I agree with Louis, you should use setInterval for this one. You don't have to repeat the call, making it more code efficient.

Greetings,
Rutger

Anonymous

setInterval will work, but it'll refresh the entire page, whereas I believe the idea here will only refresh the data, keeping pagination, etc.

Rich

Tobias Arnhold 21 November, 2009 12:52

Hi Rich,

to update the entire page try this hint: http://apex-at-work.blogspot.com/2009/11/page-refresh-button.html

marry 24 March, 2010 08:51

Blogs are so informative where we get lots of information on any topic. Nice job keep it up!!
_____________________________

International Finance Dissertation

Finance Dissertation Help 11 May, 2010 16:26

Whenever i see the post like your's i feel that there are still helpful people who share information for the help of others, it must be helpful for other's. thanx and good job.

Finance Dissertation Proposal

Dissertation Writing service 09 August, 2010 07:44

This kind of information is very limited on internet. Nice to find the post related to my searching criteria. Your updated and informative post will be appreciated by blog loving people.

MBA Dissertation Topics

janice 10 March, 2011 16:05

hmm...your post is good. i really like it. . .nice job keep sharing ;)
Dissertation

Anonymous

thanks a lot for sharing your knowledge! keep up the good work!

History Dissertation topics 10 February, 2012 13:04

it's good to see this information in your post, i was looking the same but there was not any proper resource, thanx now i have the link which i was looking for my research.

custom dissertation 26 April, 2012 07:59

It was a good article. I have been looking for this information for many days. I admire your efforts. Thanks for sharing.

SEO 05 November, 2012 11:00

nehru jacket
This is a nice post in an interesting line of content.Thanks for sharing this article, great way of bring such topic to discussion.

DEWHURST TOULSON 05 December, 2012 06:09

It was a bit tricky but I could solve it.
dissertation results layout