Categories
- All Categories
- 15 Oracle Analytics Sharing Center
- 14 Oracle Analytics Lounge
- 211 Oracle Analytics News
- 42 Oracle Analytics Videos
- 15.7K Oracle Analytics Forums
- 6.1K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 78 Oracle Analytics Trainings
- 14 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
analysis report automatic refresh

Hi,
Is it possible to have an automatic refresh of an analysis report in OBIEE 12c while it is opened in the browser, let's say every 10 mins?
Answers
-
You can put a piece of code like this in a text section on your dasboard page:
<META HTTP-EQUIV = "REFRESH" CONTENT = "600"><p>Last refresh datetime: <span id="datetime"></span></p><script>var dt = new Date();document.getElementById("datetime").innerHTML = (("0"+dt.getDate()).slice(-2)) +"-"+ (("0"+(dt.getMonth()+1)).slice(-2)) +"-"+ (dt.getFullYear()) +" "+ (("0"+dt.getHours()).slice(-2)) +":"+ (("0"+dt.getMinutes()).slice(-2));</script>
Where 600 means 600 seconds eg 10 minutes.
0 -
It looks like it is not refreshing the data, because if I click the refresh link on the analysis immediately after the automatic refresh time, I get a different set of records.
So looks like the automatic refresh is not really refreshing the records.
0 -
You may be hitting cache.
To avoid hitting cache you can try the following:
In the Advanced tab of your analysis find the 'Bypass Oracle BI Presentation Services Cache' check box and check it
Put the following in prefix:
SET VARIABLE DISABLE_CACHE_SEED=1,DISABLE_CACHE_HIT=1;
Make sure you click Apply SQL and save the report
0 -
It is working, thanks! Can you please help me understand what are doing the modifications you mention above for the cache?
0 -
These modifications make the report to ignore both BI server and Presentation server cache thus forcing the report to always retrieve new data from the database.
To learn more about OBIEE and cache you can read the following documentation:
https://docs.oracle.com/middleware/1221/biee/BIESG/querycaching.htm#BIESG226
https://docs.oracle.com/middleware/1221/biee/BIEMG/variables.htm#BIEMG3867 (for the use of session variables like the ones mentioned above)
0