Tuesday, October 2, 2012

OBIEE 11G/10G Hide the Refresh link within the No Results view

Filed Under 10.x Dashboards, 10.x Javascript, OBIEE 10/OBIEE 11g
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 = '';
}}
window.onload=removeRefresh;
//-->
</script>
<p>Hi This is Satya<p>


OBIEE 11g:

 

You have to follow the same method as mention above.




Thanks,
Satya Ranki Reddy

No comments:

Post a Comment