1 Reply Latest reply: Jul 13, 2010 5:20 PM by Rob Wunderlich RSS

    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?

        • How can you get the QVS name?
          Rob Wunderlich

          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