Hitachi Vantara Pentaho Community Forums
Results 1 to 3 of 3

Thread: problem sending a value to a new cdf component

  1. #1

    Default problem sending a value to a new cdf component

    I'm trying to create a new component, which I would like to pass a JSON (queryComponent result) I have stored in the variable query_resultset.

    This component keeps in query_resultset the JSON correctly, but I don't know how can I get in my new component in CoreComponents.js this value.
    If in metalayers from my new definition I pass -> paramJson: "query_resultset" I take in my component in CoreComponents the string and not the value and if I put paramJson: query_resultset, any component is displayed.

    transformJson = 
        name: "transformJson",
        type: "jSONComponent",
        htmlObject: "jsonObject",
        executeAtStart: true,
        jsonDefinition: MetaLayerHome2.jsonComponentDefinition,
        //parameters: [["query_result","query_resultset"]],
        result: "jsonTest",    //Where the JSON transformed will be stored
        postExecution: function(){
    var MetaLayerHome2 = {
    jsonComponentDefinition: {
        paramJson: "query_resultset",
    Can anyone help me?

  2. #2


    I found the solution:

  3. #3
    Join Date
    Jul 2007


    wow, taqua's rule really works!

    Quote Originally Posted by taqua
    Hide until they find the solution, my professors always told me
    Pedro Alves
    Meet us on ##pentaho, a FreeNode irc channel

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.