One Star

Component's variables

It is possible to use variables attached to a component, in a java routine or in another component?
For Example:
if mouse pointer is moved to tOracleInput query field, a tooltip appear. It says : "the variable attached to this parameter is : __QUERY__".
there is a way to get value of this variable in another component?

Thanks in advance.
2 REPLIES
One Star

Re: Component's variables

I had the same question and found this post via searchresult. For all the others looking for the same: the answer is "no".
More details I've found at http://www.talendforge.org/forum/viewtopic.php?id=14433
Community Manager

Re: Component's variables

Hi
As John said in topic 14433, the variables like attached to this parameter is : __QUERY__ exists in the JET code inside the component-- it is not exposed to your job code. Press ctrl+blank space in any text field, you will see a list of global variables, there is global variables called tOracleInput_1.QUERY can be used to get the query string in another component later.
Best regards
Shong
----------------------------------------------------------
Talend | Data Agility for Modern Business