Jump to content
We've recently updated our Privacy Statement, available here ×

rpachipu

Community Manager
  • Posts

    75
  • Joined

  • Last visited

  • Days Won

    2

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Security Advisories

Downloads

Everything posted by rpachipu

  1. Please go the below link for drilldown in multi-graph filtering. Adding a Hyperlink to a Chart Dashlet | Jaspersoft Community
  2. HI, You can achieve this only using scriptlet or creating a jar using the jasper reports libraries table component by calculating the length of the text to derive on the table width. Also you can check on the below url. TIBCO Jaspersoft® Studio Layouts | Jaspersoft Community
  3. Need to check how the 6 subreport are placed. If possible please share the jrxml to analyse the issue.
  4. Hi , if its JSON datasource you can try '/' instead of '.' as below: <field name="shift" class="java.lang.String"> <property name="net.sf.jasperreports.json.field.expression" value="shift"/> <fieldDescription><![CDATA[shift]]></fieldDescription> </field> <field name="employees" class="java.lang.String"> <property name="net.sf.jasperreports.json.field.expression" value="employees"/> <fieldDescription><![CDATA[employees]]></fieldDescription> </field> <field name="initialName" class="java.lang.String"> <property name="net.sf.jasperreports.json.field.expression" value="initialName"/> <fieldDescription><![CDATA[employees/initialName]]></fieldDescription> </field> <field name="employeeName" class="java.lang.String"> <property name="net.sf.jasperreports.json.field.expression" value="name"/> <fieldDescription><![CDATA[employees/name]]></fieldDescription> </field> <field name="employeesPoSup" class="java.lang.String"> <property name="net.sf.jasperreports.json.field.expression" value="poSup"/> <fieldDescription><![CDATA[employees/poSup]]></fieldDescription>
  5. 1.You can freeze the top rows or columns you applying below property <property name="net.sf.jasperreports.export.xls.freeze.column" value="A"/><property name="net.sf.jasperreports.export.xls.freeze.row" value="1"/> 2. You achieve the same from the studio UI after right clicking on the textbox as below:
  6. This issue will happen when you export a path in an organization or whole organization as a URI in buildomatic without the --organization flag. This will generate you a regular export archive that contains all the resources under certain URI starting from the root. Then you try to import that archive with the --organization flag. This is incorrect, you need to have consistency with these flags since --organization flag expects an archive in certain format that contains only organization data. To correctly export and import organization using buildomatic or web services make sure you're always providing the --organization flag.
  7. You pass the main report parameters to table dataset as shown below:
  8. You can sort in query or in SortFields in jrxml. The order should be like order by emp name, account, company, salary, department, compensation.
  9. Check whether scale image option to fill frame and see you placed the image to the full background ( which equals to page size).
  10. Place the image in background band and apply the print when expression $V{PAGE_NUMBER} ==1 for band or the image.
  11. Hi , You can use background band for the image or watermark to display for all pages. Set Image's property scale image to display full image.
  12. Is the report migrated from another lower version try to recreate the textbox . In such cases you can add a tab space "\t" at the end of the text in a text filed instead of line break.
  13. Once jar is created, we may need to add the jars under the "..apache-tomcatwebappsjasperserver-proWEB-INFlib" directory or you can upload it to the server as resource to the report which uses the scriptlet. Here the video tutorial for this.
  14. In studio, you cannot use a dataset fields directly into the main report. You can use Dataset fields, if your main report has a list, table or sub-reports. If you want to compare the results of datasets. There are two ways. 1. writing a scriptlet 2. Handling at the query itself. 3. using return variables from each dataset element and compare the values. Hope this help you.
  15. Did you tried using text? did you check master report data connection whether its returning data? Also apply all sections no detail to main subreport and compile the jrxml.
  16. The subreport is returning empty pages to the main report so its not displaying anything. You check when No Data Type to ALL Section No detail for the subreport to display the text . Also need to check the main report connection which is passing to subreport .
  17. Hi Garbriel, It will be helpful if we know , what kind of customizations? UI changes or SSO changes or customizations in a custom jar file. Normally, we need to merge customizations code while doing upgrade. Also we need to make sure that there are no changes in the lastest version libraries you are using in your customizations , if there are such , you need to work on that.
  18. Hi Jacob, if you want to use one field to add a backcolor of another , you can easily do this by adding property to your textfield than by conditional style. 1. Making the texfiled opaque. 2. appling net.sf.jasperreports.style.backcolor to the textfield. For eg: Where as c2 field will have hex color code. <textField> <reportElement mode="Opaque" x="127" y="1" width="73" height="30" uuid="41cbd2d7-7379-400f-95a7-bee3824834db"> <propertyExpression name="net.sf.jasperreports.style.backcolor"><![CDATA[$F{col2}]]></propertyExpression> </reportElement> <textElement textAlignment="Center" verticalAlignment="Middle"/> <textFieldExpression><![CDATA[$F{col2}]]></textFieldExpression> </textField>
  19. Before using the parameter in sql , need define the parameter accountId as below:
  20. You can supress the pages based on input parameter or by defining a variable(System) and go the detail or other display bands and using the print when expression to do this. $V{PAGE_NUMBER} <= $V{PagesRequested}
  21. Instead of using Print when expression on the frame or textbox, editing the expression will work i.e., $V{PAGE_NUMBER} ==1?"":$V{PAGE_NUMBER}
  22. Yes, we can set the ruler options from windows -> Preferences as shown in the above pic. Another way to set from pageFormat.
×
×
  • Create New...