1
0
-1

hi and good days to all,


im trying to test jasperreport in joget, i can display on tibco jaspersoft studio, but blank page in joget (v5 ent). 


here the jrxml 


<?xml version="1.0" encoding="UTF-8"?>
<!-- Created with Jaspersoft Studio version 6.10.0.final using JasperReports Library version 6.10.0-unknown -->
<jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="Blank_A4" pageWidth="595" pageHeight="842" whenNoDataType="NoDataSection" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="c625d554-ebd0-45c6-a035-0ef8f3e98366">
<queryString>
<![CDATA[]]>
</queryString>
<background>
<band splitType="Stretch"/>
</background>
<title>
<band height="79" splitType="Stretch">
<staticText>
<reportElement x="60" y="26" width="380" height="30" uuid="6af819fe-ee73-4767-96a5-559c78cc649d"/>
<textElement>
<font fontName="Baskerville Old Face" size="18"/>
</textElement>
<text><![CDATA[TEST]]></text>
</staticText>
</band>
</title>
<pageHeader>
<band height="35" splitType="Stretch">
<staticText>
<reportElement x="220" y="5" width="100" height="30" uuid="4f4e8424-8921-495c-800b-a17659a703b6"/>
<text><![CDATA[TEST]]></text>
</staticText>
</band>
</pageHeader>
<columnHeader>
<band height="61" splitType="Stretch"/>
</columnHeader>
<detail>
<band height="125" splitType="Stretch"/>
</detail>
<columnFooter>
<band height="45" splitType="Stretch"/>
</columnFooter>
<pageFooter>
<band height="54" splitType="Stretch"/>
</pageFooter>
<summary>
<band height="42" splitType="Stretch"/>
</summary>
</jasperReport>


    CommentAdd your comment...

    1 answer

    1.  
      3
      2
      1

      Hi,

      You need to write a queryString for the Jasper report to be able to render on the Joget Side. 


      Below is the updated jrxml for your reference. Please, don't forget to install this fontName="Baskerville Old Face" if not on your server.

      <?xml version="1.0" encoding="UTF-8"?>
      <!-- Created with Jaspersoft Studio version 6.10.0.final using JasperReports Library version 6.10.0-unknown -->
      <jasperReport xmlns="http://jasperreports.sourceforge.net/jasperreports" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jasperreports.sourceforge.net/jasperreports http://jasperreports.sourceforge.net/xsd/jasperreport.xsd" name="Blank_A4" pageWidth="595" pageHeight="842" whenNoDataType="NoDataSection" columnWidth="555" leftMargin="20" rightMargin="20" topMargin="20" bottomMargin="20" uuid="c625d554-ebd0-45c6-a035-0ef8f3e98366">
      <queryString>
      <![CDATA[SELECT 'TEST']]>
      </queryString>
      <background>
      <band splitType="Stretch"/>
      </background>
      <title>
      <band height="79" splitType="Stretch">
      <staticText>
      <reportElement x="60" y="26" width="380" height="30" uuid="6af819fe-ee73-4767-96a5-559c78cc649d"/>
      <textElement>
      <font fontName="Baskerville Old Face" size="18"/>
      </textElement>
      <text><![CDATA[TEST]]></text>
      </staticText>
      </band>
      </title>
      <pageHeader>
      <band height="35" splitType="Stretch">
      <staticText>
      <reportElement x="220" y="5" width="100" height="30" uuid="4f4e8424-8921-495c-800b-a17659a703b6"/>
      <text><![CDATA[TEST]]></text>
      </staticText>
      </band>
      </pageHeader>
      <columnHeader>
      <band height="61" splitType="Stretch"/>
      </columnHeader>
      <detail>
      <band height="125" splitType="Stretch"/>
      </detail>
      <columnFooter>
      <band height="45" splitType="Stretch"/>
      </columnFooter>
      <pageFooter>
      <band height="54" splitType="Stretch"/>
      </pageFooter>
      <summary>
      <band height="42" splitType="Stretch"/>
      </summary>
      </jasperReport>

      1. ayohmang

        awais, tq

         im using latest tibco jaspersoft studio 6.10 and joget v5 ent. any compatibility issue here ? 

        also refer to same question here

        what i understand now fonts/images need to configure properly in joget hosted server, report will not render correctly (blank page)

      CommentAdd your comment...