Qlik Community

Qlik Sense App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

padampadam
New Contributor

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
Contributor III

Re: how to get qliksense server name from script

Hi

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

DocumentTitle() for app name.

Regards

An Pham

nicholas5141
New Contributor III

Re: how to get qliksense server name from script

Hi,

1. Enable Legacy Mode in QMC.

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

Community Browser