Show report parameter display text in the report
Hi,
I create my own report and would like to show the display text of a report parameter (note not the value). I am using the form params.displayText which successfully works in Report Design Preview of Eclipse. On the contrary, nothing is displayed when the report is deployed to the server. What is wrong?
Thanks,
Salvatore
I create my own report and would like to show the display text of a report parameter (note not the value). I am using the form params.displayText which successfully works in Report Design Preview of Eclipse. On the contrary, nothing is displayed when the report is deployed to the server. What is wrong?
Thanks,
Salvatore
3 answers
RTC currently does not save the display text along with the value of the report parameters. We did that for performance reasons as the display text could change while the value (usually the item GUID) never changes.
Keeping the display text up to date will be a challenge.
Keeping the display text up to date will be a challenge.
Comments
Thank you for answering my question, Rafik. It is good to know that I am not doing something wrong.
The reason I would like access to the parameter display text is so that I can show all the selected parameter values in the report (the GUID, of course, is meaningless to the users, and it is important for them to see what parameters were used to generate the report). I was able to work around this limitation by creating another query that retrieves just the parameter display value for the selected parameter data value. However, this is not a perfect solution because it does not handle the case where the user selects multiple values for that parameter.
Thanks, Robert
1 vote
Its really frustrating that you have a perfectly good report running against the dataset and then you upload it to see it doesn't work. Requiring you to hack it to pieces guessing what RTC doesn't support to get it in a host-able state, which in turn practically prevents any further development/test in an unhosted environment because now its not a BIRT compliant report.