• s.neil0188
  • NEWBIE
  • 0 Points
  • Member since 2011

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 3
    Replies

Folks,

 

I'm trying to have my dashboard automatically refresh using a visualforce page db component.

 

I have seen a s-control hack which does something what I want, but would rather use visualforce.

 

Any ideas why this doesn't work

 

 

<apex:page >
 
<html>
<head>
<script>

function onload() {
    window.parent.location.replace('/{!$CurrentPage.parameters.id}');
}

</script>
</head>
<body onLoad="setTimeout('onload()', 5000)">
    <p>Refreshing.....</p>
</body>
</html>
</apex:page>