Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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
Try the ComputerName() function, for example in a text box object or a variable.
Try the ComputerName() function, for example in a text box object or a variable.
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!