Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi,
Can any one please help me on below requirement.
We have a shared drive with Three folders like below
1. QliksenseDev
2. QliksenseUAT
3. QliksenseProd
We have to deploy Extract app with same script into Three environments.
We have the below script in Data load editor
when the app is in Prod Environment it has to pick the Extract_App.qvs file from 'QliksenseProd' folder.
Please help me on this.
Thanks in advance
Hi Mahitham,
Yes this is possible. What you need to do is use the function DocumentTitle().
//------------------------------------------------------------------------------------------
// DTAP section - no changes required below this line
//------------------------------------------------------------------------------------------
if index(upper(DocumentTitle()),'[Dev]') > 0 then
let vDTAP = 'QliksenseDev';
let vDTAPcode = 'Dev';
elseif index(upper(DocumentTitle()),'[UAT]') > 0 then
let vDTAP = 'QliksenseUAT';
let vDTAPcode = 'UAT';
else
let vDTAP = 'QliksenseProd';
let vDTAPcode = 'Prod';
end if
What you need to do is add in all your apps Dev, UAT and Prod to the DocumentTitle. Then use the variable $(vDTAP) in your script:
LET vINCLUDE_PATH = 'LIB://SampleDashboard/$(vDTAP)/1.Include Files/';
$(Must_Include=$(vINCLUDE_PATH)Extract_App.qvs);
Jordy
Climber
Hi Mahitham,
Yes this is possible. What you need to do is use the function DocumentTitle().
//------------------------------------------------------------------------------------------
// DTAP section - no changes required below this line
//------------------------------------------------------------------------------------------
if index(upper(DocumentTitle()),'[Dev]') > 0 then
let vDTAP = 'QliksenseDev';
let vDTAPcode = 'Dev';
elseif index(upper(DocumentTitle()),'[UAT]') > 0 then
let vDTAP = 'QliksenseUAT';
let vDTAPcode = 'UAT';
else
let vDTAP = 'QliksenseProd';
let vDTAPcode = 'Prod';
end if
What you need to do is add in all your apps Dev, UAT and Prod to the DocumentTitle. Then use the variable $(vDTAP) in your script:
LET vINCLUDE_PATH = 'LIB://SampleDashboard/$(vDTAP)/1.Include Files/';
$(Must_Include=$(vINCLUDE_PATH)Extract_App.qvs);
Jordy
Climber
Hi @JordyWegman
Thanks for your solution its working great...
Good thing is this solution is working in Desktop and Server with DocumentTitle() System Function.
Good to hear! Good luck with the implementation.
Jordy
Climber