Customer Portal

http component addition header properties

Comments 4

  • Avatar
    admin
    0
    Comment actions Permalink
    Hi pOctavian,

    you can use ${graph_parameter_name} substitution.
  • Avatar
    poctavian
    0
    Comment actions Permalink
    Hi,

    Thanks for the quick response. However, I'm still not sure how to change the value of an internal parameter from the reformat component. Let's say I have an internal parameter, header = text/xml, and I want to change the "headers" value in the reformat component to, application/xml, so that then I can use it in the http component header properties as, ${header}. Any thoughts?

    Thanks.
  • Avatar
    vacekm
    0
    Comment actions Permalink
    Hello,

    you can save the values into parameters through Java. But since parameters are resolved on initialization of components, you have to call your desired graph by RunGraph component. Then it will work.
    I created a sample graphs that demonstrate this.

    Regards,
    Marek Vacek
    CloverETL Support Team
  • Avatar
    poctavian
    0
    Comment actions Permalink
    Hi Marek,

    Thanks for your help. I got my graph working after I saw your sample graphs.

Please sign in to leave a comment.