The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Page auto-refresh

Damian Knight
July 24, 2011

Is there a way to auto-refresh a page in Confluence?

3 answers

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

5 votes
Answer accepted
Jim Birch
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
July 24, 2011

Create a User Macro called, eg, reload60sec

No body

HTML Output code

<script language="javascript">
// Assign an anonymous function to the onload event
window.onload = function(){
// The time out value is set to be 60,000 milli-seconds
setTimeout(' document.location=document.location' ,60000);
}
</script>

Vary the time to suit. Too many reloads will distress the users and the server :)

You then add the macro once to each page you want to reload.

Lashonnee N Melton
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 2, 2021
  • Why
0 votes
Renjith Pillai
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
July 24, 2011

If the auto refresh usage is for any public display (like tv or beamer as information radiator), the simplest way is to load the confluence page in Firefox and use the auto refresh extension of firefox.

0 votes
Colin Goudie
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
July 24, 2011

I think the easiest way would be to create a plugin that uses Javascript to do the refresh, or insert the meta refresh tag into the HEAD element.

Why do you need auto-refresh though? Just wondering, if this is for a custom plugin, probably should just do straight AJAX

Damian Knight
July 24, 2011

Thanks for the reply, Colin.

We want the Dashboard to auto-refresh, for example, so that people can see new activity. Also, we have pages with SQL reports in them where the data is changing on a half-hourly basis...

Like Deleted user likes this
TAGS
AUG Leaders

Atlassian Community Events