Use below code to see what is the parameter values on dashboard in java script alert function.
In my case, I needed to show it in Table Component Click action method and on confirmation I can pass it to drill down report.
function f(){
var pDate=this.dashboard.getParameterValue('paramDate');
alert(pDate);
}
References :
http://forums.pentaho.com/showthread.php?223258-How-to-alert-a-date-type-parameter-value-in-Click-Action-of-Table-Component&p=457778#post457778
http://forums.pentaho.com/showthread.php?222911-how-to-get-parameter-value
In my case, I needed to show it in Table Component Click action method and on confirmation I can pass it to drill down report.
function f(){
var pDate=this.dashboard.getParameterValue('paramDate');
alert(pDate);
}
References :
http://forums.pentaho.com/showthread.php?223258-How-to-alert-a-date-type-parameter-value-in-Click-Action-of-Table-Component&p=457778#post457778
http://forums.pentaho.com/showthread.php?222911-how-to-get-parameter-value
No comments:
Post a Comment