Skip to main content

App Development

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

Announcements
CUSTOMERS ONLY: Now accepting customer applications for the 2023 Luminary Program: SUBMIT NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
padampadam
Contributor II
Contributor II

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.