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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
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.