Diplaying parameter details in report

mennovh
edited February 11, 2022 in Analytics #1
Hi,

for a new set of reports I am writing I need to display the details of the filled in parameters on the report itself. This information needs to be localized.

What I am thinking of is a list of Parameter Display Text and then the filled in values.

I have been able to display the values but how would I get the Parameter prompt texts onto the report?

I have tried parameter["xyz"].promptText and parameter["xyz"].getPromptText but both aren't working or give errors.

Menno

Comments

  • thuston
    edited December 31, 1969 #2
    The Prompt text is never passed to the rptdesign for execution.
    It used to work in the designer and fail on the iServer, so they made it also fail on the designer.

    If you want to display it, you'll need to rerun the query (or recreate the static lookup logic) to get the actual value to give you the display value.
  • mwilliams
    edited December 31, 1969 #3
    Try this:

    reportContext.getDesignHandle().findParameter("Customers").getProperty("promptText");
    Warning No formatter is installed for the format ipb