• XmlSlurper

    XmlSlurper in Groovy This class belongs to the  package groovy.util.XmlSlurper. The XmlSlurper is very useful in groovy to handle XML related operations   The constructor XmlSlurper() can be used to create a very loose (non-validating and namespace-aware) instance. XmlSlurper parsers The parse method has many flavors. The parse method returns a GPathResult object. parse(File file) : XML …Read More

  • Display Text Values Diagonally in Jasper Reports

    Display Text Values Diagonally in Japser Reports Here we will discuss how to display the Text Values Diagonally in  Jasper Reports with a simple Example, Prerequisites:: Ireport 5.6 ,Jasper server 5.6 DataBase : Foodmart In this Example ,we will display the column headers diagonally by using a Table Component Step 1:Create a sample report contains …Read More

  • Top 10 functions in _ underscore

    Here is list of interesting functions available in underscorejs   reject: This function returns the values in list without the elements that matches the condition.   contains: This function returns true if the value is present in the list.   max: This function returns the maximum value in list.   shuffle: This functions helps us …Read More

  • Calling-jasper-report-from-java-application

    Calling-jasper-report-from-java-application Considering reader has prior idea of creation of report in jasper reports. I am going to describe how we can run jasper reports from java application.First create report, and publish the report on jasperserver. Report name: report.jrxml. In the java code add all the jar files required to build the project from jasper installed …Read More

  • Table of contents in Jasper Community 6.3

    Table of contents in Jasper Community 6.3 Here I’ll discuss how to meet requirement when in jaspersoft you have been asked to create index. Index as it is available in many books, exactly in same way. That is, in index there will be list of contents in the report along with page number. Not many knows …Read More

  • Show Alert Window based on lnput Control Validation in Jasper Server

    Show Alert Window based on lnput Control Validation in Jasper Server Requirement: Create a Pop Up alert box based on Input Control Validation in Jasper Server. In order to achieve above scenario,please follow the below steps: Created one report in jasper studio having two input controls having integer type as RangeA and RangeB. Set default …Read More

  • Adjust alignment of label to right and fix label truncating issue in stacked bar chart

    Adjust alignment of label to right and fix label truncating issue in stacked bar chart Softwares: Jasper Server 5.6.0 IReport 5.6.0 Now we will see how to work on Lables Alignment and fix truncating in Stacked Bar Chart First create a sample report which includes Stacked Bar Chart Report Output in Jasper Server as follows …Read More

  • Latest features available in JasperReport Server 6.4

    Latest features available in JasperReport Server 6.4   Following are the different features available in JasperReport Server 6.4   1. Export options for organization admins.   In JasperReport Server 6.3 only ROLE_SUPERUSER has export options but in JasperReport Server 6.4 export option is available for organization admins which is the User with ROLE as ROLE_ADMINISTRATOR.Now …Read More

  • Dynamic Query Implementation in Jasper CVC

    Dynamic Query implementation in stacked bar chart using high chart library in jasper CVC In this blog, I’ll discuss how dynamically data returned from query can be used in stacked bar chart. Here, I have created stacked bar chart using highcharts library through jasper CVC component in jasper studio.  I am writing this blog, considering that whosoever …Read More

  • Custom Hyperlink Handler in Jasper Reports Server

    Use custom hyperlink handler with a Dashboard in JasperReports Server Used jasper server version : 6.3.0 Problem Statement: Add hyperlink control for particular dashlet which will open drill-down in same dashboard page instead of opening drill-down report in new page. Expected Output : Expected output should be in one dashboard as shown below when we …Read More

  • Hide logout option for externally authenticated users in JasperReport Server

    Hide logout option for externally authenticated users in Jasper Report Server An external user is a user outside of an organization who does not directly login to Jasper Reports Server. JasperReports Server does not store the passwords of external users, and is not impacted by changes to user passwords or user password policies on the …Read More

  • Fixed series color for specific labels in Jasper Jfree charts

    Fixed series color for specific series labels in Jasper jfree charts We often face the situation where it has been asked to implement specific series color for each particular series in the different charts of jasper. Thus,here I am trying to provide solution for same: Create two jasper reports one to publish pie chart and other to publish …Read More

  • Show subscripts in IReport, Jasper server and in PDF Export

    Show subscripts in IReport, Jasper server and in PDF Export Requirement: Show number in field value as subscripts in IReport ,Jasper server and in PDF Export. Softwares used: Jasper Server 5.6.0 IReport 5.6.0 Here I have created a sample Report to work out on above Requirement Sample Query: select ‘H2O’ AS SUBSCRIPT UNION SELECT ‘CO2’ …Read More

  • Groovlets

    What is Groovlet? A Groovlet is a Servlet in Groovy script or in other word Servlets in Groovy What it does? The groovlet jar helps us  to automatically compile  .groovy source files into bytecode. It load the Class and cache it until you change the source file. What can be done using Groovlet? Similar to …Read More

  • Grails

    What is grails? According to grail documentation Grails is a full stack framework and attempts to solve as many pieces of the web development puzzle through the core technology. What are the built-in features of Grails? Data management: It is easy with built-in Object Relational Mapping (ORM) using Hibernate Cool view technology: Similar to JSP …Read More