Home
Analytics
Show params display text
ReinerE
I created each params value a display text, like 1 = january 2 = february etc.
Via text element I'll get only the value: month: <VALUE-OF>params["rp_month"].value</VALUE-OF>
Any chance to get the display text into the report?
Thank you for any help you can provide
Find more posts tagged with
Comments
mwilliams
Try using .displayText instead of .value.
ReinerE
Cool! Works perfect! Thx!
ReinerE
JoeO
I am working with Actuate 11SP3 and found this thread because I am having the same issue, and .displayText is not functioning as stated above. In a text element it comes back as blank and in a data element it returns the string "null"-- without the quotes. Any thoughts?
Thanks,
-Joe
mwilliams
I've heard this same issue before in Actuate BIRT. I'm not sure why it happens. The version of OS BIRT that Actuate BIRT is based off of allows you access to it. A workaround could be to set persistent global variables named after the actual parameter value field with the value of the display text field, in the parameter dataSet's onFetch script. Then, you can recall the PGV where needed. This shouldn't be necessary though. I'd call this a bug. Please log it and post any bug info in here for future reference.
JoeO
I called their tech support and they said that it is a known issue but not a high priority since it creates performance issues. The work-around suggested for my scenario (dynamic parameters that run off a data set) is to create a data element that references the proper field in that data set. It seems to work, but since I have multiple parameters from different data sets, I had to create a grid that contains each data element in a separate cell. Setting the shrink property to True for both the grid and each data element helps to keep the spacing even.
ramesh nagoor swd
<p>I created grid in Header Master Page. And displaying parameter value as an text using displayText. It works fine in birt report when im running. If i pass parameter values from Java JSP page dynamically in server the parameter text is not loading. Only displaying parameter value in report page. Please any alternative is there help me.</p>