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

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
AGurau1639681093
Contributor II
Contributor II

how to put database connection strings in the context?

Hi, please excuse me, I'm a newbie. I want to put the connection strings for dev, test and prod in the context so when we change the environment I don't have to do anything.

I couldn't find any tutorial how to do this. I found videos on YouTube on variable, but not connections. Could you please point me in the right direction?

Thanks.

Labels (3)
1 Reply
Anonymous
Not applicable

Hi @Adriana Gurau​ 

The DB connection string is built automatically based on the DB fields such as host, port, username etc, you just need to fill in the field values on component. We usually set the fields with context variables and define different contexts for different environments, set corresponding value to the variable for each context. When the environment changes, just update the context without modifying the job again.

 

Regards

Shong