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

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
SJeshwani1618330394
Contributor
Contributor

How to modify the properties of job file in TOS for Data Integration?

I want to update some of the properties of the job which I built.

For example, I have a job in which I am fetching data through REST API and I provided a username and password to get a response.

I build a job. But what if in the future I need to change the username and password of this job. Can we just change this parameter from GUI or I can change the java code without going to the GUI and change the java code of that built job?0695b00000HBJiqAAH.png

Labels (3)
2 Replies
Anonymous
Not applicable

Hi

Parameterize these fields using context variables, and then you can load the value of username and password from somewhere such as file using tContextLoad component during the job execution, or pass new value to the variables when executing the job from command terminal, eg:

...>jobName.bat --context=Default --context_param username=value1 --context_param password=value2

 

Regards

Shong

SJeshwani1618330394
Contributor
Contributor
Author

Thank you so much for your reply.

 

Can we connect somehow? I can share what my scenario is about.

 

Regards,

Sheetal