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?
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.