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

Announcements
See why IDC MarketScape names Qlik a 2025 Leader! Read more
cancel
Showing results for 
Search instead for 
Did you mean: 
gfoo-009
Contributor
Contributor

Changes to SMPT host

Hi ALL,

Does anyone know whether there is global setting in talend for SMTP host?

How can I change all the existing setups of SMTP host for all talend jobs to a new one?

Example

current setup : "

syd-print.companyname.com"

New setup : "NewSyd-print.companyname.com"

0695b00000WvXC2AAN.png

Thanks

Labels (5)
4 Replies
Anonymous
Not applicable

This depends upon how you are using Talend and which products you are using. But you can do this in all versions. The most basic way would be to use context variables and to ensure that at the beginning of each job, the context variables that could change are set with the current values.

gfoo-009
Contributor
Contributor
Author

Thanks rhall for the suggestions. I used context variables before on emails and they worked well. For the SMTP host,

I am looking for a "global setting" if any so that I just need to set up once without having to set up context variables for each job as I have many existing jobs to change.

Anonymous
Not applicable

Unfortunately there is no way to do this after the jobs have been compiled with hardcoded values....as in your example. Essentially each Talend job is a Java application in its own right. So if you build it with functionality to do this, no problem. But since it has not been built in, you will have to change the jobs to facilitate this.

Anonymous
Not applicable

There's a tool created by Jan Lolling: https://github.com/jlolling/talend-job-refactoring use it at your own risk as tampering with the files in the workspace/Git repo might be risky.

We also have a feature request to introduce to the studio itself this search and replace, feel free to raise a support case and explain your use-case + provide this reference TUP-33978