Categories
- All Categories
- 99 Oracle Analytics News
- 9 Oracle Analytics Videos
- 14.3K Oracle Analytics Forums
- 5.3K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 55 Oracle Analytics Trainings
- 59 Oracle Analytics Data Visualizations Gallery
- 4 Oracle Analytics Data Visualizations Challenge
- 4 Oracle Analytics Career
- 4 Oracle Analytics Industry
- Find Partners
- For Partners
OBIEE 12 c Auto Refresh

OBIEE 12c
I have a requirement where the user would like the dashboard page to auto refresh every 60 seconds without having to click on the "Refresh" button.
Is there a way to do this.
Answers
-
Hi,
As far as I know, out-of-the-box you don't have anything that can fulfil your requirement. In order to achieve what you want, you'd probably have to use some javascript code that will make that 60secs reload.
0 -
Yes this could be easily achieved with simple JavaScript. Put this code to dashboard text box or create some static text within analysis.
<span class="pln" style="font-style: inherit; font-weight: inherit; font-size: inherit; font-family: inherit; color: #303336;">setTimeout</span><span class="pun" style="font-style: inherit; font-weight: inherit; font-size: inherit; font-family: inherit; color: #303336;">(</span><span class="kwd" style="font-style: inherit; font-weight: inherit; font-size: inherit; font-family: inherit; color: #101094;">function</span><span class="pun" style="font-style: inherit; font-weight: inherit; font-size: inherit; font-family: inherit; color: #303336;">()</span><span class="pln" style="font-style: inherit; font-weight: inherit; font-size: inherit; font-family: inherit; color: #303336;"> </span><span class="pun" style="font-style: inherit; font-weight: inherit; font-size: inherit; font-family: inherit; color: #303336;">{</span><span class="pln" style="font-style: inherit; font-weight: inherit; font-size: inherit; font-family: inherit; color: #303336;"><br/> location</span><span class="pun" style="font-style: inherit; font-weight: inherit; font-size: inherit; font-family: inherit; color: #303336;">.</span><span class="pln" style="font-style: inherit; font-weight: inherit; font-size: inherit; font-family: inherit; color: #303336;">reload</span><span class="pun" style="font-style: inherit; font-weight: inherit; font-size: inherit; font-family: inherit; color: #303336;">();</span><span class="pln" style="font-style: inherit; font-weight: inherit; font-size: inherit; font-family: inherit; color: #303336;"><br/></span><span class="pun" style="font-style: inherit; font-weight: inherit; font-size: inherit; font-family: inherit; color: #303336;">},</span><span class="pln" style="font-style: inherit; font-weight: inherit; font-size: inherit; font-family: inherit; color: #303336;"> </span><span class="lit" style="font-style: inherit; font-weight: inherit; font-size: inherit; font-family: inherit; color: #7d2727;">30000</span><span class="pun" style="font-style: inherit; font-weight: inherit; font-size: inherit; font-family: inherit; color: #303336;">);</span>
0 -
SampleApp has examples for that (you can also just refresh analysis in a page and things like that).
The above JS will not always work as the URL isn't always valid: OBIEE does a lot based on it's own session, so if you want to be sure to reload the right page you better first get the URL to use from "Create bookmark link" to avoid surprises).
Definitely worth to look at what SampleApp did there as refreshing an analysis (or few) in a page is more userfriendly than reloading the whole page.
0 -
Is it possible to get the refresh function working withing preview mode of a dashboard since otherwise you will always see the top ribbon of Oracle BI which includes the menu bar?
EDIT: Solved via analytics/saw.dll?PortalPages&PortalPath=
0 -
I think this would give you exactly what you are looking for. We used it at my last employer and it worked very well.
https://www.jamescoyle.net/how-to/1907-javascript-to-refresh-all-obiee-dashboard-analysis
Hopefully this helps!
0 -
Thanks Chris. Exactly what I needed and it worked!!!
0