Get the Flash Player to see the slideshow.

Back button in Hypervu (Reports and Portfolio pages)

Posted by sw on August 1, 2009 under Corvu |

Have you ever had a report in Hypervu which has the capability to drill into another report?

Or

Have number of Portal pages (built in Corportfolio) which are interlinked?

 

If answer is yes which it should be for must of you (if not than you are not utilising the system fully) than I am confident that you either have asked this question to yourself or a user would have asked you to put a Back Button when viewing a drill report so he can return to the main report or to the main page from a some sub-document in Hypervu.

 

This can easily be achieved by adding relatively simple html in the header of a quick report.

 

For this topic I am going to only use the Quick Report example.

 

Back Link without Image

 

Once you have the quick reports open in CorBusiness which is used as a drill i.e. detail report

Go to Format\Page Properties\Header

Select Header Line Number\Left

 

Drop the following Code:

%<A href=”#” onclick=”history.go(-1)”>BACK</A%>

 

 

Back Link with an image in front

 

Once you have the quick reports open in CorBusiness which is used as a drill i.e. detail report

Go to Format\Page Properties\Header

Select Header Line Number\Left

 

Drop the following Code:

%<A href=”#” onclick=”history.go(-1)”>%<img src=http://corvu/htmserver_images/fixed/Back.png border=0>BACK</A%>

 

Perquisites

You need to have a 16×16 pixel (max) image in the CGISERVER\Images folder so it can be referenced in the html code.

 

Breakdown of the Image based code

 

%<A href=”#” onclick=”history.go(-1)”>%

 

This part of the code tells the browser to find the last page viewed in the history

 

 

<img src=http://corvu/htmserver_images/fixed/back.png border=0>

 

This code tells the browser to place in image in front of the text available under CGISERVER\Images.

 

BACK</A%>

 

This is the code which will add text after the image.

 Example:

image.jpg

 

Shariq Wagener

  • Kit England said,

    Brilliant little piece of info there Shariq - provides a nice bit of navigation that’s often lacking - will be embedding it into all our reports…

  • sw said,

    Thanks Kit, nice to hear that u found it useful. Also if you wish us to blog about something specific than feel free to suggest and same applies to any other reader.

Add A Comment