title: Pentaho CDE Get param Function in "Custom Parameter" Component
body: <p>I'm working on a dashboard with drill down function using the next code in a pie chart.</p>
  
  <pre><code>function sendParameter(scene){
         var url='https://172.18.0.152:8443/pentaho/Home?name=dashboard&amp;startup-url=%2Fpentaho%2Fapi%2Frepos%2F%253ABIMBO%253Adashboard1.wcdf%2FgeneratedContent%3Fts%3D1436214662779&amp;param1=';
  
     var vars = scene.vars;
     var c = vars.category.value;
     var v = vars.value.value;
  
     alert("category: " + c + "\nvalue: " + v);
     alert("category: " +url+c);
  
     window.location=url+c;  
  </code></pre>
  
  <p>} </p>
  
  <p>I set the Url correctly with the param, but when I want to get the parameter on the second dashboard I can´t. Im using a custom parameter component with this code:</p>
  
  <pre><code>param1 = Dashboards.getQueryParameter("param1");
  </code></pre>
  
  <p>but it doesn't work. Can enybody tell me the rigth way to use this function or is it another function to get the Parameter to use I will appreciate.</p>