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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

unable to override context variables in properties file

Hi, I have 2 context variables I'm trying to override when I run command line shell script, I have tried both
bash CustomerInfo_run.sh --context_param TODAYDATE="2012-06-07" --context_param TODAY_DATE="06/07/2012"
bash CustomerInfo_run.sh --context_param TODAYDATE=2012-06-07 --context_param TODAY_DATE=06/07/2012
The default values for both variables are 2012-06-06 and 06/06/2012. When I run the script, it didn't pick up the overriding values.
Labels (2)
1 Reply
Anonymous
Not applicable
Author

Hi
Welcome to Talend Community!
I test the command 'bash CustomerInfo_run.sh --context_param TODAYDATE=2012-06-07 --context_param TODAY_DATE=06/07/2012' and it works fine.
Or
chmod +x CustomerInfo_run.sh
./CustomerInto_run.sh --context_param TODAYDATE=2012-06-07 --context_param TODAY_DATE=06/07/2012
Regards,
Pedro