Jazz Register Log in
Jazz Forum Welcome to the Jazz Community Forum

Welcome to the Jazz Community Forum

Connect and collaborate with IBM Engineering experts and users

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

0 votes



3 answers

Permanent link
I am having exactly the same problem.  I need the parameter display text and am using the following expression: reportContext.getParameterDisplayText("FiledAgainst")

This works perfectly in the Eclipse Report Design preview but does  not display anything when deployed to the RTC server.

0 votes


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

0 votes

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


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

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,984

Question asked: Jul 28 '10, 10:05 a.m.

Question was seen: 8,879 times

Last updated: May 29 '14, 6:11 a.m.

Confirmation Cancel Confirm