Wednesday, 14 March 2012

OBIEE Hide the Refresh link within the No Results view

Thanks to-

Occasionally I’ve come across a requirement to remove the refresh link that is displayed on the No Results view. It doesn’t make sense to have a refresh link in this context and it can confuse your users. Here’s one solution:
Add a ‘No Results’ view to your report

In the text box paste this:

<script type="text/javascript">
function removeRefresh(){
cols = document.getElementsByTagName('td');
for (x=0; x<cols.length; x++) {
  if (cols[x].className == 'ResultLinksCell' && cols[x].innerHTML.indexOf('Refresh')!=-1)
    cols[x].innerHTML = '';
<p>Please change the dashboard filters and try again<p>

I hope this snippet helps someone out there.

1 comment:

Thanks to Comment