Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

document chaining and different Server

Hi,

I want to do the document chaining on qlikview to toggle from different qlikview files on access point.

In my project we have three environment(DEV,UAT,PROD) I can only work on DEV files.

I have successfully done the same using URL in DEV environment but not geeting how to do the same in UAT / PROD with out access to the qvw file?

What i have though is I will make a variable to catch the environment and based on that will change the URL but I have not got any success on this.  Please let me know any other approach.

Please respond this is very urgent.

1 Reply
Not applicable
Author

Hi,

Make a variable say Server_Name = ComputerName()

and put the condition like below

if($(Server_Name)='abc123','https://qlikviewserver-dev/ajax/opendoc?abc.qvw&host='&$(Server_Name),

if($(Server_Name)='abc1xz','https://qlikviewserver-uat/ajax/opendoc?abc1.qvw&host='&$(Server_Name),

if($(Server_Name)='abc1fg','https://qlikviewserver-prod/ajax/opendoc?abc2.qvw&host='&$(Server_Name)))

for this you have to know the server name.

without knowing the server name u can't do this.

But when server change you have to replace the name from abc123 to that server name.

Thanks.