Hitachi Vantara Pentaho Community Forums
Results 1 to 4 of 4

Thread: CDE - Parameter / Variable Reference

  1. #1
    Join Date
    Mar 2011
    Posts
    140

    Lightbulb CDE - Parameter / Variable Reference

    Hello,

    How do you reference a parameter component or javascript var if you have a "sql over sqlJndi" datasource ?

    I've tried doing ${variable} and {variable}, but none of them seem to work.

    What is the way to reference such variables ?

  2. #2

    Default

    It works with this format : ${variable} , and dont forget to set the variable (and the data type) that you will use in the "parameters" property.

    Greetings,

    jegordon

  3. #3

    Default

    As jegordon said it is working with ${variable} but I'm wondering how we can pass value to that variable from another DataTable. Once user clicks on a row I need to pass that value to the ${variable}. Any idea about that?

    Thanks and Regards
    Pathum

  4. #4
    Join Date
    Mar 2011
    Posts
    140

    Default

    Hey jegordon,

    Thanks for the advice. I didn't set the "parameters" property, so that might be it. I'll try this out and let you know.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.