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

Announcements
Write Table now available in Qlik Cloud Analytics: Read Blog
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] How to get an environment variable from the system into a context var?

I am looking to implement the following scenario:
Setup a system environment variable on the server that Talend is running on. The value of this variable will be a path to a folder containing XML files that I use for various purposes. At runtime in my job, I would like to use some Talend component to retreive the value of the environment variable and store it in a context variable. I can then use that context variable as the leading source string for my tXMLInput.
I see a tSetEnv, but I do not see a tGetEnv comnponent.
Any easy way to do this?
thanks,
Dave
Labels (3)
10 Replies
Anonymous
Not applicable
Author

There is a custom component for this in Talend Exchange - tGetEnvVarInput