Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
ChristofSchwarz
Partner Ambassador
Partner Ambassador

How to find out which server a QVW is opened from?

Is there any built-in QlikView function that returns from which QlikView Server an app is currently opened?

If there is no function, then is there a property in the COM API which I could read using macros?

What I try to get returned is the part in red from the URL, which the user sees in his browser:

http://localhost/QvAJAXZfc/AccessPoint.aspx?open=&id=QVS@win2012r2|AccessPoint_Public%2FSales%20Compass.qvw&client=Plugin

Thank you for hints

1 Solution

Accepted Solutions
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Try the ComputerName() function, for example in a text box object or a variable.


talk is cheap, supply exceeds demand

View solution in original post

2 Replies
Gysbert_Wassenaar
Partner - Champion III
Partner - Champion III

Try the ComputerName() function, for example in a text box object or a variable.


talk is cheap, supply exceeds demand
ChristofSchwarz
Partner Ambassador
Partner Ambassador
Author

Thank you. Computername() is indeed a function I missed in my research. It is not 100% what I was looking for, but close ... the small difference is, that ComputerName() returns the name of the Windows machine to which the client is connected. I am trying to "guess" the full URL for a given app with switching from Plugin to Ajax. The computerName() is not necessarily the same as the resource name of the browser URL. For example if I access the AccessPoint using http://127.0.0.1/... the function I am looking for should return 127.0.0.1 not the machine name. I also need to know the protocol (http/https). The issue is, that in IE Plugin mode link to a relative URL like '/accesspoint.aspx' is not working. It needs the full url including http or https to work. In Ajax mode this is not the case, a relative URI works.

However, the computername will be a known URL address in most company networks and http/https can be hardcoded, so it should work for my purpose!