Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Posting on Qlik Community is temporarily paused for some users. Thank you for patience and we'll update you soon!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

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.
Labels (3)
2 Replies
blackfox
Contributor III
Contributor III

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 https://community.talend.com/t5/Design-and-Development/How-to-programatically-set-range-parameter-va...
Anonymous
Not applicable
Author

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