I had a requirement where i was to hide a dashboard page on the result set of another report.
This is how it can be achieved:
Add a section to the dashboard page to which you want to hide dashboard page:
Add the following script in the section:
<script type="text/javascript">
function hidePage()
{
var body = document.getElementsByTagName('body')[0];
var tablecolums = body.getElementsByTagName("td");
var tabletd;
for (i = 0; i < tablecolums.length; i++)
{
tabletd = tablecolums[i];
if(tabletd.className=='TabDimCell')
{ tabletd.style.display = "none";}
}
}
hidePage();
</script>
Once you have the script in place you can use guided navigation on the text and use a condition to enable the text and thus we achieve our target.
This is how it can be achieved:
Add a section to the dashboard page to which you want to hide dashboard page:
Add the following script in the section:
<script type="text/javascript">
function hidePage()
{
var body = document.getElementsByTagName('body')[0];
var tablecolums = body.getElementsByTagName("td");
var tabletd;
for (i = 0; i < tablecolums.length; i++)
{
tabletd = tablecolums[i];
if(tabletd.className=='TabDimCell')
{ tabletd.style.display = "none";}
}
}
hidePage();
</script>
Once you have the script in place you can use guided navigation on the text and use a condition to enable the text and thus we achieve our target.
No comments:
New comments are not allowed.