Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
set dynamic default value for report parameter
vsub
Hi all,
Hpw can we change default value of report parameter( List Box) dynamically. The report parameter set for dynamic. So everytime whenever the report runs, it needs to fetch new default value which return by dataset(one value only).
Thanks in advance
vs
Find more posts tagged with
Comments
vsub
We can do this by following script.
In the table onrender property, we can place the below script. The report parameter default value will be dynamically changed based on table data.
reportContext.setParameterValue("Tvalue",this.getRowData().getColumnValue("Top_value"));
Thanks
VS
Mani Kandan
<p>vsub can you post a working version of report design here.</p>
sudata
<p><span style="color:rgb(40,40,40);font-family:'Source Sans Pro', sans-serif;">reportContext.setParameterValue("Tvalue",this.getRowData().getColumnValue("Top_value")); </span></p>
<p> </p>
<p> </p>
<p><span style="color:rgb(40,40,40);font-family:'Source Sans Pro', sans-serif;">What is Tvalue and Top_value in this script?</span></p>
<p><span style="color:rgb(40,40,40);font-family:'Source Sans Pro', sans-serif;">Could u please post any sample report</span></p>
<p> </p>
<p><span style="color:rgb(40,40,40);font-family:'Source Sans Pro', sans-serif;">Thank you</span></p>