Skip to main content
Announcements
Global Transformation Awards! Applications are now open. Submit Entry
cancel
Showing results for 
Search instead for 
Did you mean: 
Lakshmanudui
Contributor II
Contributor II

Qlik sense app run dynamically if change dev environment to UAT or Prod then without change any path location

Hi All,

I have Qliksense app and it is having dev environment.

Now i want to move UAT and then after that moved in to Prod.

Each environment i will change path location evry time when i wll move the app.

I don't want change every time. If i move any environment then anutomacally run the app dynamically like if my app is in dev then dev path location will take and if my app is in UAT or Prod then will take UAT or prod path location.

Please suggest me how to take varibles for this one.

 

Thanks & Regards,

Lakshman 

 

1 Reply
AshutoshBhumkar
Partner - Specialist
Partner - Specialist

Hello,

You can use script something like below to check on which server the task is running. QVD connections will be used accordingly.

 

Let vServerName = ComputerName();

if

vServerName = 'Server1' then

Set vQVD_connection=Lib:\\Path


elseif vServerName = 'Server2'

then

Set vQVD_connection=Lib:\\Path

else

Set vQVD_connection=Lib:\\Path

end if;

 

Thanks,
Ashutosh