Jump to content
We've recently updated our Privacy Statement, available here ×
  • Create Custom icon to show when we have an empty report in JRS.


    Rutuja Bhalchandra Shinde
    • Product: JasperReports® Server

    Description :

    This article will demonstrate the steps to create the custom icon to show the report is empty in JasperReports Server.

    expectedmessage_1.jpg.eb5fb10b909e7283bcc16d2ab4078ca5.jpg

     

    Solution :

    1) To add the custom icon you will need to create a new theme.

    2) To create a new theme, go to the repository and right-click Theme, and click 'Add Folder'

    3) Name the folder - 'New Theme' (or whatever is fine by you)

    4) Now, create a CSS file called - 'overrides_custom.css'

    5) In the CSS file add the below commands -

    #emptyReportID .content > .body::before {

    background: url(tibco.png);

    content:"";

    display: block;

    height: 48px;

    width: 48px;

    }

    6) Save the file and open the repository in Jasperserver.

    7) In the new folder 'New Theme' right-click and Add Resource-->File-->CSS

    8) Add the CSS file - 'overrides_custom' and set it as an Active theme

    9) Now log out and log in again to see the changes.

     

     

     


    User Feedback

    Recommended Comments

    There are no comments to display.



    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

×
×
  • Create New...