Need to Change Interactive Report Region Title When Refreshed
I have code working to periodically refresh a Interactive Report on a page. I have the following code in the page header:
<script type="text/javascript">
//automatic reload IRR
function fnc_reloadIRR () {
gReport.search('SEARCH');
window.setTimeout(fnc_reloadIRR, 10000);
};
// this means the code execution starts after 10 seconds
window.setTimeout(fnc_reloadIRR, 10000);
</script>
This is working great. The title of the report region is "Intraday Color Code Test - &P1_LAST_REFRESH_TIME."
I have a hidden page item named P1_LAST_REFRESH_TIME on the page that contains the last time the report was refreshed. I am struggling with resetting this value when the report region is refreshed. ( May not even need this item!)
0