Amazon festival offer

Saturday, 30 June 2012

JasperReport Server Customization - Upload a new theme with your company logo

You can customize your existing JasperServer as per your customer requirement.
You can change the default JasperSoft logo to your customer logo or your company logo, you can customize login page, and even you can customize your whole JasperServer as per your requirement.

Here are the some examples how to customize your existing JasperServer.

1: Upload a new your own theme- 

    a: Click on the Themes directory of the Jasper server and there you can see all the existing themes.
    b: Right click on the theme(for example- defaults) which you want to modify and select Download the theme  option.

    c: Give name to the downloaded theme and save it somewhere in your computer

    d: Right click on the Theme folder in Jasper server and select Upload a Theme option

    e: Browse the same .zip file which you just downloaded and upload the theme.

     f: Now you can upload your company logo in place of JasperSoft logo, to upload a new logo click on the your theme which you have just uploaded and select images sub directory, here you can find all the images which are currently being used by theme.

    g: Search for the logo.png image in images and edit the image, and upload your company logo but logo should be the same in dimension of JasperSoft logo.
                 (Logo dimension should be 141* 28 in pixels)
     h: Just right click on the new theme and select Set as Active Theme option.
          Now you can see new company logo in place of the JasperSoft logo.
     I: You can also change the main login page image, click on the your theme which you have just uploaded and select images sub directory, here you can find all the images which are currently being used by theme, search for the login_welcome_ce_bkgd.jpg and edit the image and upload your image(image size 669*283 in pixels)

How to add hyperlinks in Jasper Server reports or dashboard

Here I am showing you how to add hyperlinks to any test box or any image in Jasper server reports, so we can open another new report by clicking on hyperlink, it will be more useful in dynamic dashboard.
      Steps to add hyperlink:-

1:-  Open any report or dashboard where you want to add hyperlink.
2:-  Right click on the text box on which you want to add hyperlink, if the text is static, transform it to the text field, then only you can see the hyperlink option.

3:- A popup menu will open when you will select the Hyperlink option, select "ReportExecution" Hyperlink type from drop-down list

 4:- Now you can add Parameter name and expression for your hyperlink.
     Click Add button 


Link parameter name:-    _report   (for any  hyperlink)
Value expression-     "repo:/path_of_that_report_in_Jasper_server_which_you_want_to_open_as_hyperlink "

Value expression should be same as Jasperserver report path.
You can copy the path from Jasper server, when you open any report in jasper server, path always written in red color.
How to link any Web page to any text or graph in Jasperserver:-