Expand the Report View by default

Posted by ithrees on 02-Mar-2015 06:21

Hi All,

Currently I see a link of any report and to run it I have to click and then to go. Is there anyway that I can keep the report ready to run when I visit the page from menu?

Thanks in advance,
Ithrees

All Replies

Posted by Orchid Corpin on 02-Mar-2015 12:01

Hi,

In your generic page or report tab create a script component with the code below. 

<script>
$(document).ready(function() {
     //All Public Meetings is the report name
     //Meetings & To-Dos is the section name
     var link = $("div[name='Meetings & To-Dos'] a:contains('All Public Meetings')").attr("href");
     window.location.href = link;
});
</script>


Hope this may help.

Regards,

Orchid

This thread is closed