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: 
Not applicable

How can you get the QVS name?

I need the name of my QVS in a published QVW document, and I do not want it hard coded. The ComputerName() function returns the local machine name. Is there something in the published file that references the parent server? Another option would be to set it as a variable during publish. Does anyone know how to do this?

1 Reply
rwunderlich
Partner Ambassador/MVP
Partner Ambassador/MVP

If you want the name of the computer where the reload took place, you can set a variable in the script like this:

LET vCcomputer = ComputerName();

Then use vComputer in your app.

If the reload is being done on a seperate QDS and then uploaded to a QVS, I don't know of any way to obtain the QVS name from withing the document.

-Rob