Jump to content
We've recently updated our Privacy Statement, available here ×
  • How to set a TIBCO JasperReports Server Input Control's label from within TIBCO Jaspersoft Studio


    ghudson_1
    • Version: v7 Product: Jaspersoft® Studio

    Issue Description

    By default, when parameters are published from TIBCO Jaspersoft Studio to TIBCO JasperReports Server, an Input Control is created and the resource ID and label have the same value, which is based upon the parameter element's name attribute. Thru the TIBCO JasperReports Server UI you can edit the label, or you can use Studio to specify the label prior to publish.

    Resolution

    Set the com.jaspersoft.studio.js.ic.label property on the parameter's element to specify a label.

    For example:

    <parameter name="City" class="java.lang.String">
       <property name="com.jaspersoft.studio.js.ic.label">
          <![CDATA["Customer City Name"]]>
       </property>
       <parameterDescription>
          <![CDATA["City parameter for controlling where clause"]]>
       </parameterDescription>
       <defaultValueExpression>
          <![CDATA["Raleigh"]]>
       </defaultValueExpression>
    </parameter>
    

    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...