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.
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.
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>
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.
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=
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!
Thanks Chris. Exactly what I needed and it worked!!!
Hi Team, We would like to raise an enhancement request for the SSO/SAML configuration guidance for OAS 2026. We have already raised multiple SRs regarding OAS 2026 SSO configuration. However, we are facing difficulties getting the required guidance, as the available documentation does not clearly cover the OAS 2026 SSO…
We are planning to archive the Contract and Lease data currently sourced from the External Source as Contract and Lease accounting functions are being migrated to Oracle's CLM and Lease Accounting modules. At this stage, only active and partially closed records are being converted into Oracle and the remaining historical…
The difference column is a calculation, and I would like to average that row.
We are trying to convert our OAS reports to OAC and one of the parameters in the where clause of the report is what I am trying to make in OAC. I created a calculation as follows and I am trying to put it into a filter . The code validates EVALUATE('GREATEST ( TRUNC ( NVL (%1, TO_DATE (''1/1/2013'', ''mm/dd/yyyy'') ) ),…
Hi , I am calling one parameter in another parameter and it is not working. 1st parameter is showing values, while calling the 1st parameter in second it is not showing any values. Regards, Sree Hari M