Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

how to get qliksense server name from script

i would like to open the qliksense sheet in another window. hence i need to give complete URL including server name. when we publish the app from one environment to another environment then server name get change.

I would like to get the server name from script, so i no need to hard code the server name in the URL. I mean that i want to build the URL dynamically based on the environment.

i.e. https//qliksense server/app name/sheet1.qvf

2 Replies
kenphamvn
Creator III
Creator III

Hi

Using ComputerName() to get server(Engine) name from script.

DocumentTitle() for app name.

Regards

An Pham

nicholas5141
Partner - Creator
Partner - Creator

Hi,

1. Enable Legacy Mode in QMC.

2. Use DocumentPath() in your QVF/Script.