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

mattmb

Members
  • Posts

    3
  • Joined

  • Last visited

 Content Type 

Profiles

Forum

Events

Featured Visualizations

Knowledge Base

Documentation (PDF Downloads)

Blog

Documentation (Test Area)

Documentation

Dr. Jaspersoft Webinar Series

Downloads

Everything posted by mattmb

  1. You may use a java expression like the following in a textfield of your header: ( ( null != $P{User Name } ) || ( null != $P{User ID } ) ) ? "Filter by:" + ( ( null != $P{User Name } ) ? " User Name- " + $P{User Name } : "" ) + ( ( null != $P{User ID } ) ? " User ID- " + $P{User ID } : "" ) : ""
  2. I've found the answer. The java expression to use is: $P{JASPER_REPORT}.getName()
  3. Hi, I would like to know how to display the report or the template name as a title in the header section. For eg., if my template is "Business-report01.jrxml", I would like to display "Business-report" in the header. What's the java expression to do it ? Thanks for your assistance, Best regards Matt
×
×
  • Create New...