Home
Analytics
Diplaying parameter details in report
mennovh
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
Find more posts tagged with
Comments
thuston
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
Try this:
reportContext.getDesignHandle().findParameter("Customers").getProperty("promptText");